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

Unified Diff: src/parsing/preparser.h

Issue 2677373002: [parser] Cleanup: remove unused parameters to DeclareFunction (Closed)
Patch Set: Created 3 years, 10 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/parser-base.h ('k') | no next file » | 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 38b3dc6faabe915ad677bf70244c107e7488d7c6..6ff3b46c7dfc7aedbe71efe3a86b9e3121c78958 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -1104,9 +1104,8 @@ class PreParser : public ParserBase<PreParser> {
V8_INLINE PreParserStatement DeclareFunction(
PreParserIdentifier variable_name, PreParserExpression function,
- VariableMode mode, int pos, bool is_generator, bool is_async,
- bool is_sloppy_block_function, ZoneList<const AstRawString*>* names,
- bool* ok) {
+ VariableMode mode, int pos, bool is_sloppy_block_function,
+ ZoneList<const AstRawString*>* names, bool* ok) {
DCHECK_NULL(names);
if (variable_name.string_ != nullptr) {
DCHECK(track_unresolved_variables_);
« no previous file with comments | « src/parsing/parser-base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698