Skip to content
Prev Previous commit
Next Next commit
resolve arg
  • Loading branch information
ShaharNaveh committed Jan 5, 2026
commit cf8cf21bf24aa547869a65418f19940c76e39ba1
2 changes: 1 addition & 1 deletion crates/jit/src/instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ impl<'a, 'b> FunctionCompiler<'a, 'b> {
}
}
Instruction::CallIntrinsic1 { func } => {
match func {
match func.get(arg) {
IntrinsicFunction1::UnaryPositive => {
match self.stack.pop().ok_or(JitCompileError::BadBytecode)? {
JitValue::Int(val) => {
Expand Down
Loading