summaryrefslogtreecommitdiff
path: root/ast.c
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 /ast.c
parentd3c8f7b1cd2fdba95436889869e94f4c3cf419e8 (diff)
downloadruby-54f0e63a8c53753af7db8653972ac450415eae13.tar.gz
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.
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ast.c b/ast.c
index ceb03c29d4..05bfc755a3 100644
--- a/ast.c
+++ b/ast.c
@@ -417,7 +417,6 @@ node_children(rb_ast_t *ast, const NODE *node)
}
case NODE_LASGN:
case NODE_DASGN:
- case NODE_DASGN_CURR:
case NODE_IASGN:
case NODE_CVASGN:
case NODE_GASGN: