diff --git a/src/compile.rs b/src/compile.rs index a13d361..aafab37 100644 --- a/src/compile.rs +++ b/src/compile.rs @@ -1303,11 +1303,9 @@ impl Compiler { self.emit(Instruction::Pop); } if let Some(false_label) = false_label { - self.emit(Instruction::Duplicate); self.emit(Instruction::JumpIfFalse { target: false_label, }); - self.emit(Instruction::Pop); } } }