[前][次][番号順一覧][スレッド一覧]

ruby-changes:69238

From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:24:19 +0900 (JST)
Subject: [ruby-changes:69238] 35b37c5873 (master): Update yjit_codegen.c

https://git.ruby-lang.org/ruby.git/commit/?id=35b37c5873

From 35b37c5873d49b7e2ac2d406532635b0871c8dcf Mon Sep 17 00:00:00 2001
From: Maxime Chevalier-Boisvert <maximechevalierb@g...>
Date: Thu, 7 Oct 2021 11:50:18 -0700
Subject: Update yjit_codegen.c

Co-authored-by: Alan Wu <XrXr@u...>
---
 yjit_codegen.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/yjit_codegen.c b/yjit_codegen.c
index 1cf57e5b5e..e3df5a5193 100644
--- a/yjit_codegen.c
+++ b/yjit_codegen.c
@@ -3822,7 +3822,8 @@ gen_send_general(jitstate_t *jit, ctx_t *ctx, struct rb_call_data *cd, rb_iseq_t https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L3822
             if ((vm_ci_flag(ci) & VM_CALL_KWARG) != 0) {
                 GEN_COUNTER_INC(cb, send_attrset_kwargs);
                 return YJIT_CANT_COMPILE;
-            } else if (argc != 1 || !RB_TYPE_P(comptime_recv, T_OBJECT)) {
+            }
+            else if (argc != 1 || !RB_TYPE_P(comptime_recv, T_OBJECT)) {
                 GEN_COUNTER_INC(cb, send_ivar_set_method);
                 return YJIT_CANT_COMPILE;
             }
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]