summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2023-07-25 00:01:52 +0900
committerNobuyoshi Nakada <[email protected]>2023-07-25 00:01:52 +0900
commitc4e893ceb5811f3436f1e16cab769a16469b56b0 ()
treea9317577abbc1b7e28674e7637f938bc6081d7ef
parent1faeb44dfcf777ace28321e80d0ebf942161a0a7 (diff)
Adjust brace nesting
-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);
}