Skip to content

Commit 057b5e8

Browse files
committed
Fix jit
1 parent 60b2884 commit 057b5e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jit/src/instructions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ impl<'a, 'b> FunctionCompiler<'a, 'b> {
320320
_ => Err(JitCompileError::NotSupported),
321321
}
322322
}
323-
Instruction::BinaryOperation { op, .. } => {
323+
Instruction::BinaryOperation { op } | Instruction::BinaryOperationInplace { op } => {
324324
// the rhs is popped off first
325325
let b = self.stack.pop().ok_or(JitCompileError::BadBytecode)?;
326326
let a = self.stack.pop().ok_or(JitCompileError::BadBytecode)?;

0 commit comments

Comments
 (0)