| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index c37953f04ad3c24480d8f57303e2ade4340ae02c..a7c346c0b8327d349dcd5e3aa3ce2c9af6e1571e 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -515,8 +515,6 @@ class ParserTraits {
|
| int pos);
|
| Expression* FunctionSentExpression(Scope* scope, AstNodeFactory* factory,
|
| int pos);
|
| - Expression* DefaultConstructor(bool call_super, Scope* scope, int pos,
|
| - int end_pos, LanguageMode language_mode);
|
| Literal* ExpressionFromLiteral(Token::Value token, int pos, Scanner* scanner,
|
| AstNodeFactory* factory);
|
| Expression* ExpressionFromIdentifier(const AstRawString* name,
|
| @@ -968,8 +966,9 @@ class Parser : public ParserBase<ParserTraits> {
|
| Statement* BuildAssertIsCoercible(Variable* var);
|
|
|
| // Factory methods.
|
| - FunctionLiteral* DefaultConstructor(bool call_super, Scope* scope, int pos,
|
| - int end_pos, LanguageMode language_mode);
|
| + FunctionLiteral* DefaultConstructor(const AstRawString* name, bool call_super,
|
| + Scope* scope, int pos, int end_pos,
|
| + LanguageMode language_mode);
|
|
|
| // Skip over a lazy function, either using cached data if we have it, or
|
| // by parsing the function with PreParser. Consumes the ending }.
|
|
|