mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
Constant globals can't have been modified, even if a pointer is passed externally. Therefore, don't treat it as such in hasExternalStore. In addition, it doesn't make sense to update values of constant globals after the interp pass is finished. So don't do this. TODO: track whether objects are actually modified and only update the globals if this is the case.pull/2252/head
Ayke van Laethem
3 years ago
committed by
Ron Evans
4 changed files with 25 additions and 1 deletions
Loading…
Reference in new issue