ruby-changes:69247
From: Alan <ko1@a...>
Date: Thu, 21 Oct 2021 08:24:21 +0900 (JST)
Subject: [ruby-changes:69247] 32b5125c5e (master): else if style
https://git.ruby-lang.org/ruby.git/commit/?id=32b5125c5e From 32b5125c5eb40422ef8a92a9886986a9ee4dc299 Mon Sep 17 00:00:00 2001 From: Alan Wu <XrXr@u...> Date: Thu, 7 Oct 2021 14:59:55 -0400 Subject: else if style --- yjit_codegen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yjit_codegen.c b/yjit_codegen.c index e3df5a5193..b3ab3e014f 100644 --- a/yjit_codegen.c +++ b/yjit_codegen.c @@ -3512,7 +3512,8 @@ gen_send_iseq(jitstate_t *jit, ctx_t *ctx, const struct rb_callinfo *ci, const r https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L3512 // know every value was specified, we can just write the value 0. kw_bits_shift = 1; mov(cb, ctx_stack_opnd(ctx, -1), imm_opnd(INT2FIX(0))); - } else if (argc == lead_num) { + } + else if (argc == lead_num) { // Here we are calling a method that accepts keyword arguments // (optional or required) but we're not passing any keyword // arguments at this call site -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/