aboutsummaryrefslogtreecommitdiffstats
path: root/yjit
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-02-13 16:58:44 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-02-13 16:58:46 -0800
commitdbe5b0dcfffbad5a0ce3af1570dbb6db70266275 (patch)
treec39ab6d24795c285192cee3aec9a866e887b5e59 /yjit
parent86de48e9f69b665ba9ffb5bdc5a181a3adb1a7b8 (diff)
downloadruby-dbe5b0dcfffbad5a0ce3af1570dbb6db70266275.tar.gz
YJIT: Fix a typo in a counter name
I added `invokeblock_iseq_arg0_args_splat` counter but it wasn't used because of a typo. Related to https://github.com/ruby/ruby/pull/7234
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/codegen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index 74d7784b21..e9a90b2712 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -5443,7 +5443,7 @@ fn gen_send_iseq(
// If block_arg0_splat, we still need side exits after this, but
// doing push_splat_args here disallows it. So bail out.
if block_arg0_splat {
- gen_counter_incr!(asm, invokeblock_iseq_arg0_has_kw);
+ gen_counter_incr!(asm, invokeblock_iseq_arg0_args_splat);
return CantCompile;
}