'g' for accessing globals

This commit is contained in:
Vern Paxson 2024-06-09 13:46:01 -07:00
parent 6272db4cdd
commit 5369b5b81e
9 changed files with 18 additions and 15 deletions

View file

@ -423,7 +423,7 @@ void ZAMCompiler::ComputeFrameLifetimes() {
continue;
}
case OP_STORE_GLOBAL_i: {
case OP_STORE_GLOBAL_g: {
// Use of the global goes to here.
auto slot = frame_layout1[globalsI[inst->v1].id.get()];
ExtendLifetime(slot, EndOfLoop(inst, 1));