Remove duplicate code for internal arrays

Internal arrays are now created hidden from the start.
This commit is contained in:
Nobuyoshi Nakada 2022-07-23 21:42:05 +09:00
parent 98a8a496ba
commit 721d154e2f
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -12357,8 +12357,7 @@ ibf_load_object_array(const struct ibf_load *load, const struct ibf_object_heade
rb_ary_push(ary, ibf_load_object(load, index));
}
if (header->internal) rb_obj_hide(ary);
if (header->frozen) rb_obj_freeze(ary);
if (header->frozen) rb_obj_freeze(ary);
return ary;
}