aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-25 00:20:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-25 00:20:39 +0000
commit5ac58b272d65cc9921048c076e35df1f42979725 (patch)
treef3b8f3319c8c2b3b2f12b83c02d81e1b6a7aa373 /compile.c
parent2c8cea84cc8daf54622eae6907d869eba6f4c422 (diff)
downloadruby-5ac58b272d65cc9921048c076e35df1f42979725.tar.gz
insns.def: reverse
* insns.def (reverse): add new instruction for massign. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index ed003772fc..deb403f579 100644
--- a/compile.c
+++ b/compile.c
@@ -2822,7 +2822,6 @@ compile_massign(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE *node, int poped)
ADD_INSN(ret, nd_line(node), swap);
expand = 0;
}
-#if 0
else if (llen > 2 && llen != rlen) {
POP_ELEMENT(ret);
adjust_stack(iseq, ret, nd_line(node), rlen, llen);
@@ -2833,7 +2832,6 @@ compile_massign(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE *node, int poped)
last->insn_id = BIN(reverse);
expand = 0;
}
-#endif
}
}
if (expand) {