From 9f0f77717368783bfded08875ade2ea46b75fab7 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 26 Aug 2019 13:41:54 -0700 Subject: [PATCH] this iv table should also use the new update function --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 4d8ced7611..d655e362dc 100644 --- a/gc.c +++ b/gc.c @@ -8070,7 +8070,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj) } 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));