diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index f216d8bb48..66c8e59c76 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -2011,7 +2011,7 @@ fn gen_get_ivar( } }; - // Guard heap object (recv_opnd must be used before stack_oop) + // Guard heap object (recv_opnd must be used before stack_pop) guard_object_is_heap(ctx, asm, recv, recv_opnd, side_exit); // Pop receiver if it's on the temp stack diff --git a/yjit/src/core.rs b/yjit/src/core.rs index cb6a328ee3..498ac17841 100644 --- a/yjit/src/core.rs +++ b/yjit/src/core.rs @@ -1505,7 +1505,7 @@ impl Context { pub fn two_fixnums_on_stack(&self, jit: &mut JITState) -> Option { if jit.at_current_insn() { - let comptime_recv = jit.peek_at_stack( self, 1); + let comptime_recv = jit.peek_at_stack(self, 1); let comptime_arg = jit.peek_at_stack(self, 0); return Some(comptime_recv.fixnum_p() && comptime_arg.fixnum_p()); }