Skip to content

Commit 6f2535d

Browse files
committed
RJIT: Prefix a constant with C namespace
1 parent 62188c8 commit 6f2535d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ruby_vm/rjit/insn_compiler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4306,7 +4306,7 @@ def jit_call_iseq(jit, ctx, asm, cme, calling, iseq, frame_type: nil, prev_ep: n
43064306
if block_arg0_splat
43074307
# If block_arg0_splat, we still need side exits after splat, but
43084308
# doing push_splat_args here disallows it. So bail out.
4309-
if flags & VM_CALL_ARGS_SPLAT != 0 && !iseq_has_rest
4309+
if flags & C::VM_CALL_ARGS_SPLAT != 0 && !iseq_has_rest
43104310
asm.incr_counter(:invokeblock_iseq_arg0_args_splat)
43114311
return CantCompile
43124312
end

0 commit comments

Comments
 (0)