diff options
author | Takashi Kokubun <[email protected]> | 2023-04-02 11:01:23 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-04-02 11:01:23 -0700 |
commit | 5cc644b147f8809a9ab986c40dc8c3c3befb52a3 (patch) | |
tree | c66d7c1511a8d78831ee495fd3abd2d01bcd8e1c /lib/ruby_vm | |
parent | cd1cd8030c0849fcba1ae7f251e53919703d8af7 (diff) |
RJIT: Group blockarg exit reasons
Diffstat (limited to 'lib/ruby_vm')
-rw-r--r-- | lib/ruby_vm/rjit/insn_compiler.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ruby_vm/rjit/insn_compiler.rb b/lib/ruby_vm/rjit/insn_compiler.rb index 0620269467..eea9315a11 100644 --- a/lib/ruby_vm/rjit/insn_compiler.rb +++ b/lib/ruby_vm/rjit/insn_compiler.rb @@ -3844,7 +3844,7 @@ module RubyVM::RJIT jit_chain_guard(:jne, jit, ctx, asm, counted_exit(side_exit, :send_block_not_proxy)) return C.rb_block_param_proxy else - asm.incr_counter(:send_blockarg_not_nil_or_proxy) + asm.incr_counter(:send_block_arg) return CantCompile end elsif blockiseq != 0 @@ -4838,7 +4838,7 @@ module RubyVM::RJIT asm.incr_counter(:send_c_tracingg) return CantCompile elsif flags & C::VM_CALL_ARGS_BLOCKARG != 0 - asm.incr_counter(:send_attrset_blockarg) + asm.incr_counter(:send_block_arg) return CantCompile end @@ -4897,7 +4897,7 @@ module RubyVM::RJIT # Not handling block_handler if flags & C::VM_CALL_ARGS_BLOCKARG != 0 - asm.incr_counter(:send_ivar_blockarg) + asm.incr_counter(:send_block_arg) return CantCompile end @@ -4959,7 +4959,7 @@ module RubyVM::RJIT def jit_call_optimized(jit, ctx, asm, cme, calling, known_recv_class) if calling.flags & C::VM_CALL_ARGS_BLOCKARG != 0 # Not working yet - asm.incr_counter(:send_optimized_blockarg) + asm.incr_counter(:send_block_arg) return CantCompile end |