We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f51b686 + fb5ebea commit 28eb496Copy full SHA for 28eb496
1 file changed
compiler/src/compile.rs
@@ -1303,9 +1303,11 @@ impl<O: OutputStream> Compiler<O> {
1303
self.emit(Instruction::Pop);
1304
}
1305
if let Some(false_label) = false_label {
1306
+ self.emit(Instruction::Duplicate);
1307
self.emit(Instruction::JumpIfFalse {
1308
target: false_label,
1309
});
1310
+ self.emit(Instruction::Pop);
1311
1312
1313
0 commit comments