aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ruby_vm
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-02 10:40:37 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-04-02 10:40:37 -0700
commit6f2535deda1acbba7762639bd2681b84309432d5 (patch)
treed458e72d311350e202a4e12e908f94bd0c3d5b2f /lib/ruby_vm
parent62188c8584e4c79694a56db7e72b4d3c2bf7a5dd (diff)
downloadruby-6f2535deda1acbba7762639bd2681b84309432d5.tar.gz
RJIT: Prefix a constant with C namespace
Diffstat (limited to 'lib/ruby_vm')
-rw-r--r--lib/ruby_vm/rjit/insn_compiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ruby_vm/rjit/insn_compiler.rb b/lib/ruby_vm/rjit/insn_compiler.rb
index 1713a98ff2..6fadd77996 100644
--- a/lib/ruby_vm/rjit/insn_compiler.rb
+++ b/lib/ruby_vm/rjit/insn_compiler.rb
@@ -4306,7 +4306,7 @@ module RubyVM::RJIT
if block_arg0_splat
# If block_arg0_splat, we still need side exits after splat, but
# doing push_splat_args here disallows it. So bail out.
- if flags & VM_CALL_ARGS_SPLAT != 0 && !iseq_has_rest
+ if flags & C::VM_CALL_ARGS_SPLAT != 0 && !iseq_has_rest
asm.incr_counter(:invokeblock_iseq_arg0_args_splat)
return CantCompile
end