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 | bf99b94acf8cc4ec4a644a0ad3de8cf577a69a35 (patch) | |
tree | ab416b8e13ce65180b9f7211e4e0c612e74e70bd /compile.c | |
parent | 3c6423cb2b73ad18dbc143e1168dfab5dd40b818 (diff) | |
download | ruby-bf99b94acf8cc4ec4a644a0ad3de8cf577a69a35.tar.gz |
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); |