Skip to content

Commit 5382a37

Browse files
committed
(fix) unnecessary pop
1 parent 7950829 commit 5382a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/googlecode/aviator/code/interpreter/InterpretCodeGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public void onTernaryLeft(final Token<?> lookhead) {
246246
this.instruments
247247
.add(new GotoIR(peekLabel1(), new SourceInfo(this.sourceFile, lookhead.getLineNo())));
248248

249-
emit(PopIR.INSTANCE);
249+
// emit(PopIR.INSTANCE);
250250
Label label0 = popLabel0();
251251
visitLabel(label0);
252252
emit(PopIR.INSTANCE);

0 commit comments

Comments
 (0)