diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-02 10:40:37 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-02 10:40:37 -0700 |
commit | 6f2535deda1acbba7762639bd2681b84309432d5 (patch) | |
tree | d458e72d311350e202a4e12e908f94bd0c3d5b2f /lib/ruby_vm | |
parent | 62188c8584e4c79694a56db7e72b4d3c2bf7a5dd (diff) | |
download | ruby-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.rb | 2 |
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 |