diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index 6225f739c3..1d1e59161e 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -7502,7 +7502,8 @@ fn gen_send_general( asm.mov(stack_ret, ret); // End the block to allow invalidating the next instruction - return jump_to_next_insn(jit, asm, ocb); + jump_to_next_insn(jit, asm, ocb); + return Some(EndBlock); } OPTIMIZED_METHOD_TYPE_BLOCK_CALL => { gen_counter_incr(asm, Counter::send_optimized_method_block_call);