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

Unified Diff: src/parsing/preparser.h

Issue 2421833002: Remove "is function lazy" logic from Preparser + tiny error reporting refactoring. (Closed)
Patch Set: kill unused var Created 4 years, 2 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 | « src/parsing/preparse-data.h ('k') | src/parsing/preparser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index d283d2b4640f7ac5448774f986a6f02e8a1e16d9..3b947be9bac732c85dff4fe48702d4c439d2121c 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -891,7 +891,7 @@ class PreParser : public ParserBase<PreParser> {
// At return, unless an error occurred, the scanner is positioned before the
// the final '}'.
PreParseResult PreParseLazyFunction(DeclarationScope* function_scope,
- bool parsing_module, ParserRecorder* log,
+ bool parsing_module, SingletonLogger* log,
bool track_unresolved_variables,
bool may_abort, int* use_counts);
@@ -922,7 +922,7 @@ class PreParser : public ParserBase<PreParser> {
FunctionNameValidity function_name_validity, FunctionKind kind,
int function_token_pos, FunctionLiteral::FunctionType function_type,
LanguageMode language_mode, bool* ok);
- LazyParsingResult ParseLazyFunctionLiteralBody(bool may_abort, bool* ok);
+ LazyParsingResult ParseStatementListAndLogFunction(bool may_abort, bool* ok);
struct TemplateLiteralState {};
« no previous file with comments | « src/parsing/preparse-data.h ('k') | src/parsing/preparser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698