From dbe5b0dcfffbad5a0ce3af1570dbb6db70266275 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 13 Feb 2023 16:58:44 -0800 Subject: [PATCH] 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 --- yjit/src/codegen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }