fix: continue statement compiled incorrectly
This commit is contained in:
parent
90d019f92a
commit
7f275095a2
@ -10,7 +10,7 @@ public class ContinueStatement extends Statement {
|
||||
|
||||
@Override
|
||||
public void compile(CompileResult target, boolean pollute) {
|
||||
target.add(Instruction.nop(loc(), "cont", label));
|
||||
target.add(Instruction.nop("cont", label));
|
||||
if (pollute) target.add(Instruction.pushUndefined());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user