| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 9f18790eefce3cc4ff1a4637f29cd039e5b84262..6bdb14df22d11b79334b1ea82c8ad7868dbecc02 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -3544,8 +3544,7 @@ void Parser::ParseArrowFunctionFormalParameters(
|
| AddFormalParameter(parameters, expr, initializer, end_pos, is_rest);
|
| }
|
|
|
| -void Parser::DesugarAsyncFunctionBody(const AstRawString* function_name,
|
| - Scope* scope, ZoneList<Statement*>* body,
|
| +void Parser::DesugarAsyncFunctionBody(Scope* scope, ZoneList<Statement*>* body,
|
| FunctionKind kind,
|
| FunctionBodyType body_type,
|
| bool accept_IN, int pos, bool* ok) {
|
| @@ -4385,7 +4384,7 @@ ZoneList<Statement*>* Parser::ParseEagerFunctionBody(
|
| zone());
|
| } else if (IsAsyncFunction(kind)) {
|
| const bool accept_IN = true;
|
| - DesugarAsyncFunctionBody(function_name, inner_scope, body, kind,
|
| + DesugarAsyncFunctionBody(inner_scope, body, kind,
|
| FunctionBodyType::kNormal, accept_IN, pos,
|
| CHECK_OK);
|
| } else {
|
|
|