From 6f2535deda1acbba7762639bd2681b84309432d5 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sun, 2 Apr 2023 10:40:37 -0700 Subject: [PATCH] RJIT: Prefix a constant with C namespace --- lib/ruby_vm/rjit/insn_compiler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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