summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compile.c1
-rw-r--r--ext/objspace/objspace.c1
-rw-r--r--node.c1
-rw-r--r--node.h3
4 files changed, 0 insertions, 6 deletions
diff --git a/compile.c b/compile.c
index 18d9b20..48d36c6 100644
--- a/compile.c
+++ b/compile.c
@@ -3893,7 +3893,6 @@ defined_expr0(rb_iseq_t *iseq, LINK_ANCHOR *const ret,
case NODE_GASGN:
case NODE_IASGN:
case NODE_CDECL:
- case NODE_CVDECL:
case NODE_CVASGN:
expr_type = DEFINED_ASGN;
break;
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index 2627574..e5e3766 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -399,7 +399,6 @@ count_nodes(int argc, VALUE *argv, VALUE os)
COUNT_NODE(NODE_IASGN);
COUNT_NODE(NODE_CDECL);
COUNT_NODE(NODE_CVASGN);
- COUNT_NODE(NODE_CVDECL);
COUNT_NODE(NODE_OP_ASGN1);
COUNT_NODE(NODE_OP_ASGN2);
COUNT_NODE(NODE_OP_ASGN_AND);
diff --git a/node.c b/node.c
index 82bb596..b574d94 100644
--- a/node.c
+++ b/node.c
@@ -1034,7 +1034,6 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node)
F_NODE(nd_body, "body");
return;
- case NODE_CVDECL:
case NODE_ARGS_AUX:
case NODE_TO_ARY:
case NODE_BLOCK_ARG:
diff --git a/node.h b/node.h
index 4762a57..ef7bb9e 100644
--- a/node.h
+++ b/node.h
@@ -78,8 +78,6 @@ enum node_type {
#define NODE_CDECL NODE_CDECL
NODE_CVASGN,
#define NODE_CVASGN NODE_CVASGN
- NODE_CVDECL,
-#define NODE_CVDECL NODE_CVDECL
NODE_OP_ASGN1,
#define NODE_OP_ASGN1 NODE_OP_ASGN1
NODE_OP_ASGN2,
@@ -391,7 +389,6 @@ typedef struct RNode {
#define NEW_IASGN(v,val) NEW_NODE(NODE_IASGN,v,val,0)
#define NEW_CDECL(v,val,path) NEW_NODE(NODE_CDECL,v,val,path)
#define NEW_CVASGN(v,val) NEW_NODE(NODE_CVASGN,v,val,0)
-#define NEW_CVDECL(v,val) NEW_NODE(NODE_CVDECL,v,val,0)
#define NEW_OP_ASGN1(p,id,a) NEW_NODE(NODE_OP_ASGN1,p,id,a)
#define NEW_OP_ASGN2(r,t,i,o,val) NEW_NODE(NODE_OP_ASGN2,r,val,NEW_OP_ASGN22(i,o,t))
#define NEW_OP_ASGN22(i,o,t) NEW_NODE(NODE_OP_ASGN2,i,o,t)