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

ruby-changes:57292

From: Aaron <ko1@a...>
Date: Tue, 27 Aug 2019 05:42:34 +0900 (JST)
Subject: [ruby-changes:57292] Aaron Patterson: 9f0f777173 (master): this iv table should also use the new update function

https://git.ruby-lang.org/ruby.git/commit/?id=9f0f777173

From 9f0f77717368783bfded08875ade2ea46b75fab7 Mon Sep 17 00:00:00 2001
From: Aaron Patterson <tenderlove@r...>
Date: Mon, 26 Aug 2019 13:41:54 -0700
Subject: this iv table should also use the new update function


diff --git a/gc.c b/gc.c
index 4d8ced7..d655e36 100644
--- a/gc.c
+++ b/gc.c
@@ -8070,7 +8070,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L8070
         }
         if (!RCLASS_EXT(obj)) break;
         if (RCLASS_IV_TBL(obj)) {
-            gc_update_table_refs(objspace, RCLASS_IV_TBL(obj));
+            gc_update_tbl_refs(objspace, RCLASS_IV_TBL(obj));
         }
         update_class_ext(objspace, RCLASS_EXT(obj));
         update_m_tbl(objspace, RCLASS_CALLABLE_M_TBL(obj));
-- 
cgit v0.10.2


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

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