From 721d154e2f81c65bd7f1bfd9eff6759b015b123e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 23 Jul 2022 21:42:05 +0900 Subject: Remove duplicate code for internal arrays Internal arrays are now created hidden from the start. --- compile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index be974d571a..c17c97adbb 100644 --- a/compile.c +++ b/compile.c @@ -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; } -- cgit v1.2.3