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

Unified Diff: src/parsing/parser.cc

Issue 2341323002: Simplify Scanner bookmarking. (Closed)
Patch Set: feedback, rebase, plus fix bug 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
« no previous file with comments | « no previous file | src/parsing/parser-base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.cc
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
index 15c86f745bd687337f9797ba5b693a4c418a3705..8ee09a3ee6a667cce5c4677c6a6a173a47feb334 100644
--- a/src/parsing/parser.cc
+++ b/src/parsing/parser.cc
@@ -3041,7 +3041,7 @@ FunctionLiteral* Parser::ParseFunctionLiteral(
function_state.materialized_literal_count();
if (result == kLazyParsingAborted) {
- bookmark.Reset();
+ bookmark.Apply();
// Trigger eager (re-)parsing, just below this block.
is_lazily_parsed = false;
« no previous file with comments | « no previous file | src/parsing/parser-base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698