| Index: src/parsing/parser-base.h
|
| diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h
|
| index ba89162129053ba48f5c0cc9349c5433f5ce6335..6e407eef6d765e5dfc2e7012728b6019f1976955 100644
|
| --- a/src/parsing/parser-base.h
|
| +++ b/src/parsing/parser-base.h
|
| @@ -673,19 +673,15 @@ class ParserBase {
|
| : proxy(nullptr),
|
| extends(parser->impl()->EmptyExpression()),
|
| properties(parser->impl()->NewClassPropertyList(4)),
|
| - instance_field_initializers(parser->impl()->NewExpressionList(0)),
|
| constructor(parser->impl()->EmptyFunctionLiteral()),
|
| has_seen_constructor(false),
|
| - static_initializer_var(nullptr),
|
| has_name_static_property(false),
|
| has_static_computed_names(false) {}
|
| VariableProxy* proxy;
|
| ExpressionT extends;
|
| typename Types::ClassPropertyList properties;
|
| - ExpressionListT instance_field_initializers;
|
| FunctionLiteralT constructor;
|
| bool has_seen_constructor;
|
| - Variable* static_initializer_var;
|
| bool has_name_static_property;
|
| bool has_static_computed_names;
|
| };
|
| @@ -2309,7 +2305,6 @@ ParserBase<Impl>::ParseClassFieldForInitializer(bool has_initializer,
|
| FunctionLiteral::kNoDuplicateParameters,
|
| FunctionLiteral::kAnonymousExpression, default_eager_compile_hint_,
|
| initializer_scope->start_position(), true, GetNextFunctionLiteralId());
|
| - function_literal->set_is_class_field_initializer(true);
|
| return function_literal;
|
| }
|
|
|
| @@ -3162,7 +3157,6 @@ ParserBase<Impl>::ParseLeftHandSideExpression(bool* ok) {
|
| // Explicit calls to the super constructor using super() perform an
|
| // implicit binding assignment to the 'this' variable.
|
| if (is_super_call) {
|
| - result = impl()->RewriteSuperCall(result);
|
| ExpressionT this_expr = impl()->ThisExpression(pos);
|
| result =
|
| factory()->NewAssignment(Token::INIT, this_expr, result, pos);
|
|
|