diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-07-23 21:42:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-07-23 21:42:05 +0900 |
commit | 721d154e2f81c65bd7f1bfd9eff6759b015b123e (patch) | |
tree | 8da195c22252f8e77985b47ff79d1019d1b7406b /compile.c | |
parent | 98a8a496bab077b22290dd25d7f8453d1e73a1ac (diff) |
Remove duplicate code for internal arrays
Internal arrays are now created hidden from the start.
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } |