summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-12 23:33:47 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-13 12:53:03 +0900
commit54f0e63a8c53753af7db8653972ac450415eae13 (patch)
treedac9a7e9874c5ce570db851a9052297b5978961c /node.h
parentd3c8f7b1cd2fdba95436889869e94f4c3cf419e8 (diff)
Remove `NODE_DASGN_CURR` [Feature #18406]
This `NODE` type was used in pre-YARV implementation, to improve the performance of assignment to dynamic local variable defined at the innermost scope. It has no longer any actual difference with `NODE_DASGN`, except for the node dump.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5251
Diffstat (limited to 'node.h')
-rw-r--r--node.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/node.h b/node.h
index 4251638fb3..ebe82b85be 100644
--- a/node.h
+++ b/node.h
@@ -48,7 +48,6 @@ enum node_type {
NODE_MASGN,
NODE_LASGN,
NODE_DASGN,
- NODE_DASGN_CURR,
NODE_GASGN,
NODE_IASGN,
NODE_CDECL,
@@ -327,7 +326,6 @@ typedef struct RNode {
#define NEW_GASGN(v,val,loc) NEW_NODE(NODE_GASGN,v,val,v,loc)
#define NEW_LASGN(v,val,loc) NEW_NODE(NODE_LASGN,v,val,0,loc)
#define NEW_DASGN(v,val,loc) NEW_NODE(NODE_DASGN,v,val,0,loc)
-#define NEW_DASGN_CURR(v,val,loc) NEW_NODE(NODE_DASGN_CURR,v,val,0,loc)
#define NEW_IASGN(v,val,loc) NEW_NODE(NODE_IASGN,v,val,0,loc)
#define NEW_CDECL(v,val,path,loc) NEW_NODE(NODE_CDECL,v,val,path,loc)
#define NEW_CVASGN(v,val,loc) NEW_NODE(NODE_CVASGN,v,val,0,loc)