summaryrefslogtreecommitdiff
path: root/lib/ruby_vm
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-01 17:24:06 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-04-01 17:24:45 -0700
commit249fe18e8f48d289e83aefbe9dc3de0b52b55357 (patch)
tree30f1f0d17153020f90813483dcb541e18228672e /lib/ruby_vm
parentf42cf3fd1ed6bb43822f85a90c1cda119e75a68d (diff)
RJIT: Remove unused counters
Diffstat (limited to 'lib/ruby_vm')
-rw-r--r--lib/ruby_vm/rjit/insn_compiler.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ruby_vm/rjit/insn_compiler.rb b/lib/ruby_vm/rjit/insn_compiler.rb
index 779a817f9d..da9797eb21 100644
--- a/lib/ruby_vm/rjit/insn_compiler.rb
+++ b/lib/ruby_vm/rjit/insn_compiler.rb
@@ -4104,11 +4104,11 @@ module RubyVM::RJIT
# No support for callees with these parameters yet as they require allocation
# or complex handling.
if iseq.body.param.flags.has_post
- asm.incr_counter(:send_iseq_complex_has_opt)
+ asm.incr_counter(:send_iseq_has_opt)
return CantCompile
end
if iseq.body.param.flags.has_kwrest
- asm.incr_counter(:send_iseq_complex_has_kwrest)
+ asm.incr_counter(:send_iseq_has_kwrest)
return CantCompile
end
@@ -4144,7 +4144,7 @@ module RubyVM::RJIT
# If we have a method accepting no kwargs (**nil), exit if we have passed
# it any kwargs.
if supplying_kws && iseq.body.param.flags.accepts_no_kwarg
- asm.incr_counter(:send_iseq_complex_accepts_no_kwarg)
+ asm.incr_counter(:send_iseq_accepts_no_kwarg)
return CantCompile
end