diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-12-12 23:33:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-12-13 12:53:03 +0900 |
commit | 54f0e63a8c53753af7db8653972ac450415eae13 (patch) | |
tree | dac9a7e9874c5ce570db851a9052297b5978961c /ext/objspace | |
parent | d3c8f7b1cd2fdba95436889869e94f4c3cf419e8 (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 'ext/objspace')
-rw-r--r-- | ext/objspace/objspace.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |