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

ruby-changes:73815

From: John <ko1@a...>
Date: Sat, 1 Oct 2022 08:30:34 +0900 (JST)
Subject: [ruby-changes:73815] 1143fe340a (master): Fix YJIT build after shapes-revert

https://git.ruby-lang.org/ruby.git/commit/?id=1143fe340a

From 1143fe340a99b5d07d0897ea8709bb4cc55b8c02 Mon Sep 17 00:00:00 2001
From: John Hawthorn <john@h...>
Date: Fri, 30 Sep 2022 16:29:10 -0700
Subject: Fix YJIT build after shapes-revert

An variable had been renamed in between the merge and revert, so the
build was broken. This restores it.
---
 yjit/src/codegen.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index d0de7011c7..52d39370c4 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -1927,7 +1927,7 @@ fn gen_set_ivar( https://github.com/ruby/ruby/blob/trunk/yjit/src/codegen.rs#L1927
     jit: &mut JITState,
     ctx: &mut Context,
     asm: &mut Assembler,
-    _recv: VALUE,
+    recv: VALUE,
     ivar_name: ID,
 ) -> CodegenStatus {
     // Save the PC and SP because the callee may allocate
-- 
cgit v1.2.1


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

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