diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 15:56:03 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 15:56:03 +0000 |
commit | 92746378ab84c3e935392097354e6e74d4abec82 (patch) | |
tree | ab416b8e13ce65180b9f7211e4e0c612e74e70bd /compile.c | |
parent | dafb230c0b7e26b15ca74ce1b99f05ce6f42027e (diff) |
Remove not used node_type NODE_IASGN2
* compile.c (compile_massign_opt, iseq_compile_each0): This
node_type has not been used since r11813.
* ext/objspace/objspace.c (count_nodes): ditto
* node.c (dump_node, rb_gc_mark_node): ditto
* node.h (node_type, NEW_IASGN2): ditto
* parse.y (node_assign_gen): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3557,7 +3557,6 @@ compile_massign_opt(rb_iseq_t *iseq, LINK_ANCHOR *const ret, case NODE_DASGN: case NODE_DASGN_CURR: case NODE_IASGN: - case NODE_IASGN2: case NODE_CVASGN: MEMORY(ln->nd_vid); break; @@ -5161,8 +5160,7 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, NODE *node, int popp ((VALUE)node->nd_entry | 1)); break; } - case NODE_IASGN: - case NODE_IASGN2:{ + case NODE_IASGN:{ CHECK(COMPILE(ret, "lvalue", node->nd_value)); if (!popped) { ADD_INSN(ret, line, dup); |