From c1c068e43c80aeb2e711b64261323594eca66217 Mon Sep 17 00:00:00 2001 From: nagachika Date: Sat, 24 May 2025 18:12:02 +0900 Subject: [PATCH] Follow up for 380938998415c22ba3ca9bc01f4035d5a73f274d. The type of jump_to_next_insn() is Option<()> on ruby_3_3. --- yjit/src/codegen.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);