зеркало из https://github.com/github/ruby.git
RJIT: Prefix a constant with C namespace
This commit is contained in:
Родитель
62188c8584
Коммит
6f2535deda
|
@ -4306,7 +4306,7 @@ module RubyVM::RJIT
|
||||||
if block_arg0_splat
|
if block_arg0_splat
|
||||||
# If block_arg0_splat, we still need side exits after splat, but
|
# If block_arg0_splat, we still need side exits after splat, but
|
||||||
# doing push_splat_args here disallows it. So bail out.
|
# 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)
|
asm.incr_counter(:invokeblock_iseq_arg0_args_splat)
|
||||||
return CantCompile
|
return CantCompile
|
||||||
end
|
end
|
||||||
|
|
Загрузка…
Ссылка в новой задаче