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

Unified Diff: src/parsing/parser-base.h

Issue 2345243002: Only create ScopeInfos for eagerly parsed scopes. (Closed)
Patch Set: updates Created 4 years, 3 months 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
« src/parsing/parser.cc ('K') | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser-base.h
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h
index fad093081187054b9b15764ef4b48cf8907e7581..5095515bb47f56cf06ab353d50260031b56d21e0 100644
--- a/src/parsing/parser-base.h
+++ b/src/parsing/parser-base.h
@@ -3883,6 +3883,7 @@ ParserBase<Impl>::ParseArrowFunctionLiteral(
bookmark.Reset();
// Trigger eager (re-)parsing, just below this block.
is_lazily_parsed = false;
+ scope()->set_is_lazily_parsed(false);
// This is probably an initialization function. Inform the compiler it
// should also eager-compile this function, and that we expect it to
« src/parsing/parser.cc ('K') | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698