summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
-rw-r--r--vm.c10
1 files changed, 4 insertions, 6 deletions
@@ -1439,12 +1439,10 @@ invoke_iseq_block_from_c(rb_execution_context_t *ec, const struct rb_captured_bl
stack_check(ec);
-#if VM_ARGC_STACK_MAX < 1
- /* Skip ruby array for potential autosplat case */
- if (UNLIKELY(argc > VM_ARGC_STACK_MAX && (argc != 1 || is_lambda))) {
-#else
- if (UNLIKELY(argc > VM_ARGC_STACK_MAX)) {
-#endif
use_argv = vm_argv_ruby_array(av, argv, &flags, &argc, kw_splat);
}