summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authoryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 00:29:40 +0000
committeryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 00:29:40 +0000
commitfdc586409088bb2cfc59525eaf8558c392d4d03c (patch)
treedf9945aed99b2c010d11b574b6e8342e5b9f140e /node.c
parente480660b85f79d7f6c5fed278e9f521d877620d1 (diff)
Remove not used node_type NODE_BLOCK_ARG
* ext/objspace/objspace.c (count_nodes): This node_type has not been used since r11840. * node.c (dump_node, rb_gc_mark_node): ditto * node.h (node_type, NEW_BLOCK_ARG): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60334 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 511255db4e..af7690fc01 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_BLOCK_ARG:
case NODE_BMETHOD:
case NODE_LAST:
break;
@@ -1209,7 +1208,6 @@ rb_gc_mark_node(NODE *obj)
case NODE_TRUE:
case NODE_FALSE:
case NODE_ERRINFO:
- case NODE_BLOCK_ARG:
break;
default: /* unlisted NODE */