aboutsummaryrefslogtreecommitdiffhomepage
path: root/interp/testdata/revert.out.ll
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2021-11-11 02:41:29 +0100
committerRon Evans <[email protected]>2021-11-11 08:59:32 +0100
commit1681ed02d3035f3216885d560433bc1ad953ed24 (patch)
treecc6d9d57f827121882e42673c7d15cbe50f6d748 /interp/testdata/revert.out.ll
parent7e68980c395339b1e9b78c08477d47b7ba15354d (diff)
downloadtinygo-1681ed02d3035f3216885d560433bc1ad953ed24.tar.gz
tinygo-1681ed02d3035f3216885d560433bc1ad953ed24.zip
interp: take care of constant globals
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.
Diffstat (limited to 'interp/testdata/revert.out.ll')
0 files changed, 0 insertions, 0 deletions