fix: as1/2 maintain push order, temp variables usage

This commit is contained in:
Jindra Petřík
2026-03-08 16:37:43 +01:00
parent 2dad5d3862
commit 729d754ca0
50 changed files with 399 additions and 169 deletions

View File

@@ -4767,7 +4767,7 @@ public class Graph {
* @param stack Stack
*/
public void makeAllCommands(List<GraphTargetItem> commands, TranslateStack stack) {
stack.finishBlock(commands);
stack.finishBlock(commands, true);
}
/**
@@ -4959,7 +4959,7 @@ public class Graph {
}
}
}
subStack.finishBlock(currentCaseCommands);
subStack.finishBlock(currentCaseCommands, true);
caseCommands.add(currentCaseCommands);
}