summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/objspace/objspace.c1
-rw-r--r--node.c2
-rw-r--r--node.h3
3 files changed, 0 insertions, 6 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index e5e3766..f7d77f3 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -442,7 +442,6 @@ count_nodes(int argc, VALUE *argv, VALUE os)
COUNT_NODE(NODE_ARGSCAT);
COUNT_NODE(NODE_ARGSPUSH);
COUNT_NODE(NODE_SPLAT);
- COUNT_NODE(NODE_TO_ARY);
COUNT_NODE(NODE_BLOCK_ARG);
COUNT_NODE(NODE_BLOCK_PASS);
COUNT_NODE(NODE_DEFN);
diff --git a/node.c b/node.c
index b574d94..511255d 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 */
diff --git a/node.h b/node.h
index ef7bb9e..9fc4b47 100644
--- a/node.h
+++ b/node.h
@@ -168,8 +168,6 @@ enum node_type {
#define NODE_ARGSPUSH NODE_ARGSPUSH
NODE_SPLAT,
#define NODE_SPLAT NODE_SPLAT
- NODE_TO_ARY,
-#define NODE_TO_ARY NODE_TO_ARY
NODE_BLOCK_ARG,
#define NODE_BLOCK_ARG NODE_BLOCK_ARG
NODE_BLOCK_PASS,
@@ -426,7 +424,6 @@ typedef struct RNode {
#define NEW_ARGSCAT(a,b) NEW_NODE(NODE_ARGSCAT,a,b,0)
#define NEW_ARGSPUSH(a,b) NEW_NODE(NODE_ARGSPUSH,a,b,0)
#define NEW_SPLAT(a) NEW_NODE(NODE_SPLAT,a,0,0)
-#define NEW_TO_ARY(a) NEW_NODE(NODE_TO_ARY,a,0,0)
#define NEW_BLOCK_ARG(v) NEW_NODE(NODE_BLOCK_ARG,v,0,local_cnt(v))
#define NEW_BLOCK_PASS(b) NEW_NODE(NODE_BLOCK_PASS,0,b,0)
#define NEW_ALIAS(n,o) NEW_NODE(NODE_ALIAS,n,o,0)