Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index 2bf242aa6d42d24df897bd0debda8925f3bf0a56..87140cea1e4d907cbb09b1fb7419f90b19328510 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -876,9 +876,9 @@ class PreParserTraits { |
FunctionLiteral::FunctionType function_type, bool* ok); |
V8_INLINE void ParseArrowFunctionFormalParameterList( |
- PreParserFormalParameters* parameters, |
- PreParserExpression expression, const Scanner::Location& params_loc, |
- Scanner::Location* duplicate_loc, bool* ok); |
+ PreParserFormalParameters* parameters, PreParserExpression expression, |
+ const Scanner::Location& params_loc, Scanner::Location* duplicate_loc, |
+ Scope::Snapshot& scope_snapshot, bool* ok); |
void ParseAsyncArrowSingleExpressionBody( |
PreParserStatementList body, bool accept_IN, |
@@ -1191,11 +1191,10 @@ PreParserExpression PreParserTraits::SpreadCallNew(PreParserExpression function, |
return pre_parser_->factory()->NewCallNew(function, args, pos); |
} |
- |
void PreParserTraits::ParseArrowFunctionFormalParameterList( |
- PreParserFormalParameters* parameters, |
- PreParserExpression params, const Scanner::Location& params_loc, |
- Scanner::Location* duplicate_loc, bool* ok) { |
+ PreParserFormalParameters* parameters, PreParserExpression params, |
+ const Scanner::Location& params_loc, Scanner::Location* duplicate_loc, |
+ Scope::Snapshot& scope_snapshot, bool* ok) { |
// TODO(wingo): Detect duplicated identifiers in paramlists. Detect parameter |
// lists that are too long. |
} |