diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-09-07 23:55:51 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-09-08 00:28:02 +0900 |
commit | 7cba9a84068e26d798bfe579607c27587302d67f (patch) | |
tree | a1ddc8ca29a50f524338595d8d89bd2ef975aef5 /compile.c | |
parent | b543f5b20fa992dfb62e65525394ee079ea5de57 (diff) |
compile.c (compile_array): undef a temporal macro
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3998,7 +3998,6 @@ compile_array(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, int pop if ((first_chunk && stack_len == 0 && !node_tmp) || count >= min_tmp_ary_len) { /* The literal contains only optimizable elements, or the subarray is long enough */ - VALUE ary = rb_ary_tmp_new(count); /* Create a hidden array */ @@ -4041,6 +4040,7 @@ compile_array(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, int pop } FLUSH_CHUNK(newarray); +#undef FLUSH_CHUNK return 1; } |