diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-09-07 23:56:19 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-09-08 00:28:03 +0900 |
commit | bb78c8367802335ec17c39b228e0f535b6e23cb4 (patch) | |
tree | 9245f7cf9b488b13cc9803893a30dcf821f1fe0a /compile.c | |
parent | 7cba9a84068e26d798bfe579607c27587302d67f (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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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; |