fix: incorrect compilation of if-else

This commit is contained in:
TopchetoEU 2024-09-04 10:36:48 +03:00
parent 506726fd76
commit e3f1bc0949
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4

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();