summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
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 71831a96ed..ef7c3386a2 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -4370,7 +4370,7 @@ fn gen_send_iseq(
// We are just going to not compile these.
// https://www.rubydoc.info/stdlib/core/Proc:ruby2_keywords
if unsafe {
- get_iseq_flags_ruby2_keywords(jit.iseq)
+ get_iseq_flags_ruby2_keywords(jit.iseq) && flags & VM_CALL_ARGS_SPLAT != 0
} {
gen_counter_incr!(asm, send_iseq_ruby2_keywords);
return CantCompile;