Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 38695495545aa9d69e4d6dee9adb7b42fd748472..619210622c541c6d3ad5e6721ba3b36b95a3b4ef 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -434,8 +434,7 @@ class Parser : public ParserBase<Parser> { |
ZoneList<const AstRawString*>* names, ForStatement* loop, Statement* init, |
Expression* cond, Statement* next, Statement* body, bool* ok); |
- void DesugarAsyncFunctionBody(const AstRawString* function_name, Scope* scope, |
- ZoneList<Statement*>* body, |
+ void DesugarAsyncFunctionBody(Scope* scope, ZoneList<Statement*>* body, |
FunctionKind kind, FunctionBodyType type, |
bool accept_IN, int pos, bool* ok); |
@@ -568,9 +567,9 @@ class Parser : public ParserBase<Parser> { |
void ParseAsyncArrowSingleExpressionBody(ZoneList<Statement*>* body, |
bool accept_IN, |
int pos, bool* ok) { |
- DesugarAsyncFunctionBody( |
- ast_value_factory()->empty_string(), scope(), body, kAsyncArrowFunction, |
- FunctionBodyType::kSingleExpression, accept_IN, pos, ok); |
+ DesugarAsyncFunctionBody(scope(), body, kAsyncArrowFunction, |
+ FunctionBodyType::kSingleExpression, accept_IN, |
+ pos, ok); |
} |
ZoneList<Expression*>* PrepareSpreadArguments(ZoneList<Expression*>* list); |