Skip to content

Commit

Permalink
Adjust brace nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jul 24, 2023
1 parent 1faeb44 commit c4e893c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions vm.c
Expand Up @@ -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
if (UNLIKELY(argc > VM_ARGC_STACK_MAX) &&
(VM_ARGC_STACK_MAX >= 1 ||
/* Skip ruby array for potential autosplat case */
(argc != 1 || is_lambda))) {
use_argv = vm_argv_ruby_array(av, argv, &flags, &argc, kw_splat);
}

Expand Down

0 comments on commit c4e893c

Please sign in to comment.