1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

this iv table should also use the new update function

This commit is contained in:
Aaron Patterson 2019-08-26 13:41:54 -07:00
parent f13db4adde
commit 9f0f777173
No known key found for this signature in database
GPG key ID: 953170BCB4FFAFC6

2
gc.c
View file

@ -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));