| Index: src/parsing/preparser.h
|
| diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
|
| index dda14af1ec027771ba09776fa300e5744c0ebf3e..60fbf7a2bc7f7629bbacf765e6d8b2c719d61bd9 100644
|
| --- a/src/parsing/preparser.h
|
| +++ b/src/parsing/preparser.h
|
| @@ -840,8 +840,8 @@ class PreParserTraits {
|
| }
|
|
|
| static void AddParameterInitializationBlock(
|
| - const PreParserFormalParameters& parameters,
|
| - PreParserStatementList list, bool* ok) {}
|
| + const PreParserFormalParameters& parameters, PreParserStatementList list,
|
| + bool is_async, bool* ok) {}
|
|
|
| V8_INLINE void SkipLazyFunctionBody(int* materialized_literal_count,
|
| int* expected_property_count, bool* ok) {
|
| @@ -858,6 +858,10 @@ class PreParserTraits {
|
| PreParserExpression expression, const Scanner::Location& params_loc,
|
| Scanner::Location* duplicate_loc, bool* ok);
|
|
|
| + void ParseAsyncArrowSingleExpressionBody(
|
| + PreParserStatementList body, bool accept_IN,
|
| + Type::ExpressionClassifier* classifier, int pos, bool* ok);
|
| +
|
| V8_INLINE PreParserExpression ParseAsyncFunctionExpression(bool* ok);
|
|
|
| void ReindexLiterals(const PreParserFormalParameters& paramaters) {}
|
|
|