From 54f0e63a8c53753af7db8653972ac450415eae13 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 12 Dec 2021 23:33:47 +0900 Subject: 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. --- ext/objspace/objspace.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/objspace/objspace.c') diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index 3fa4fd279b..ad5bbe7d0c 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -423,7 +423,6 @@ count_nodes(int argc, VALUE *argv, VALUE os) COUNT_NODE(NODE_MASGN); COUNT_NODE(NODE_LASGN); COUNT_NODE(NODE_DASGN); - COUNT_NODE(NODE_DASGN_CURR); COUNT_NODE(NODE_GASGN); COUNT_NODE(NODE_IASGN); COUNT_NODE(NODE_CDECL); -- cgit v1.2.3