Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Unified Diff: src/ast/variables.h

Issue 2472063002: Preparse lazy function parameters (Closed)
Patch Set: IsArrowFunction Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ast/scopes.cc ('k') | src/parsing/parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/variables.h
diff --git a/src/ast/variables.h b/src/ast/variables.h
index afde9c507c3263e8991a5891a18ece1762fb5051..6098f7bc7094ea8d6f27212a70149ad958fe36d9 100644
--- a/src/ast/variables.h
+++ b/src/ast/variables.h
@@ -155,9 +155,6 @@ class Variable final : public ZoneObject {
2> {};
Variable** next() { return &next_; }
friend List;
- // To reset next to nullptr upon resetting after preparsing.
- // TODO(verwaest): Remove once we properly preparse parameters.
- friend class DeclarationScope;
};
} // namespace internal
} // namespace v8
« no previous file with comments | « src/ast/scopes.cc ('k') | src/parsing/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698