| Index: src/parsing/preparser.h
|
| diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
|
| index 90e933f0ba874bd698d8fdeb873a557d78b37f0c..a0af625600d02464d5cb839d2a3c25569a8088c6 100644
|
| --- a/src/parsing/preparser.h
|
| +++ b/src/parsing/preparser.h
|
| @@ -851,8 +851,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) {
|
| @@ -869,6 +869,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) {}
|
|
|