fix for ZAM optimization pruning of unnecessary instructions

This commit is contained in:
Vern Paxson 2024-04-08 17:27:46 -04:00 committed by Tim Wojtulewicz
parent 6c696f7c55
commit 39c3a0ec0b

View file

@ -239,6 +239,7 @@ bool ZAMCompiler::PruneUnused() {
if ( inst->IsLoad() && ! VarIsUsed(inst->v1) ) {
did_prune = true;
KillInst(i);
continue;
}
if ( inst->IsNonLocalLoad() ) {