summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-09-07 23:56:19 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-09-08 00:28:03 +0900
commitbb78c8367802335ec17c39b228e0f535b6e23cb4 (patch)
tree9245f7cf9b488b13cc9803893a30dcf821f1fe0a /compile.c
parent7cba9a84068e26d798bfe579607c27587302d67f (diff)
compile.c (compile_hash): don't add a temporal array to mark_ary
The array is just for a temporal buffer to create a hash, not stored in the final iseq.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/compile.c b/compile.c
index ba786bd595..0e10286a08 100644
--- a/compile.c
+++ b/compile.c
@@ -4123,10 +4123,6 @@ compile_hash(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, int popp
node = node->nd_next->nd_next;
}
- OBJ_FREEZE(ary);
-
- iseq_add_mark_object_compile_time(iseq, ary);
-
if (first) {
first = 0;
VALUE hash;