summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authoryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 00:17:39 +0000
committeryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 00:17:39 +0000
commitf36ee4406e3600ea83021779ff26edee543afeff (patch)
treedf7909dd96e076219e4e5d5da520ec4198d238ac /node.c
parent2050b50d85f89ce084c20089efe43785c35d8197 (diff)
Remove not used node_type NODE_TO_ARY
* ext/objspace/objspace.c (count_nodes): This node_type has not been used since r13236. * node.c (dump_node, rb_gc_mark_node): ditto * node.h (node_type, NEW_TO_ARY): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
-rw-r--r--node.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/node.c b/node.c
index b574d94f71..511255db4e 100644
--- a/node.c
+++ b/node.c
@@ -1035,7 +1035,6 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node)
return;
case NODE_ARGS_AUX:
- case NODE_TO_ARY:
case NODE_BLOCK_ARG:
case NODE_BMETHOD:
case NODE_LAST:
@@ -1172,7 +1171,6 @@ rb_gc_mark_node(NODE *obj)
case NODE_YIELD:
case NODE_COLON2:
case NODE_SPLAT:
- case NODE_TO_ARY:
return RNODE(obj)->u1.value;
case NODE_SCOPE: /* 2,3 */