RJIT: Scope down send_iseq_complex_has_block exit

This commit is contained in:
Takashi Kokubun 2023-03-25 21:57:02 -07:00
parent 1396b83153
commit a624a5d709

View File

@ -4858,9 +4858,13 @@ module RubyVM::RJIT
end
if iseq.body.param.flags.has_block
if iseq.body.local_iseq.to_i == iseq.to_i
# Do nothing
else
asm.incr_counter(:send_iseq_complex_has_block)
return CantCompile
end
end
return opt_pc
end