summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-09-07 23:55:51 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-09-08 00:28:02 +0900
commit7cba9a84068e26d798bfe579607c27587302d67f (patch)
treea1ddc8ca29a50f524338595d8d89bd2ef975aef5
parentb543f5b20fa992dfb62e65525394ee079ea5de57 (diff)
compile.c (compile_array): undef a temporal macro
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 2ed6488962..ba786bd595 100644
--- a/compile.c
+++ b/compile.c
@@ -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;
}