Follow up for 380938998415c22ba3ca9bc01f4035d5a73f274d. The type of jump_to_next_insn() is Option<()> on ruby_3_3.

This commit is contained in:
nagachika 2025-05-24 18:12:02 +09:00
parent 7230a070e3
commit c1c068e43c

View File

@ -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);