| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 71f6a6a1b8364d5fc0cc3270444cf48f8b5a5b4a..33b20d71ebfd15596744a5d6cc71bf6792a02a06 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -492,8 +492,8 @@ class Parser : public ParserBase<Parser> {
|
|
|
| // Factory methods.
|
| FunctionLiteral* DefaultConstructor(const AstRawString* name, bool call_super,
|
| - int pos, int end_pos,
|
| - LanguageMode language_mode);
|
| + bool requires_class_field_init, 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 }.
|
| @@ -570,6 +570,8 @@ class Parser : public ParserBase<Parser> {
|
| int pos);
|
| Expression* SpreadCallNew(Expression* function, ZoneList<Expression*>* args,
|
| int pos);
|
| + Expression* CallClassFieldInitializer(Scope* scope, Expression* this_expr);
|
| + Expression* RewriteSuperCall(Expression* call_expression);
|
|
|
| void SetLanguageMode(Scope* scope, LanguageMode mode);
|
| void SetAsmModule();
|
|
|