fix: incorrect compilation of if-else

This commit is contained in:
2024-09-04 10:36:48 +03:00
parent 506726fd76
commit e3f1bc0949

View File

@@ -46,7 +46,7 @@ public class IfNode extends Node {
int mid = target.temp(); int mid = target.temp();
body.compile(target, false, BreakpointType.STEP_OVER); elseBody.compile(target, false, BreakpointType.STEP_OVER);
LabelContext.getBreak(target.env).pop(label); LabelContext.getBreak(target.env).pop(label);
int endI = target.size(); int endI = target.size();