| Index: src/parsing/parser-base.h
|
| diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h
|
| index a946cfa6bc825bbca6162cdaf4d97105f6c9aa4c..21df4204bf610bec0530bb5d159b7b2cbefa8151 100644
|
| --- a/src/parsing/parser-base.h
|
| +++ b/src/parsing/parser-base.h
|
| @@ -3048,7 +3048,7 @@ ParserBase<Traits>::ParseSuperExpression(bool is_new,
|
| IsClassConstructor(kind)) {
|
| if (peek() == Token::PERIOD || peek() == Token::LBRACK) {
|
| scope->RecordSuperPropertyUsage();
|
| - return this->SuperPropertyReference(scope_, factory(), pos);
|
| + return this->NewSuperPropertyReference(scope_, factory(), pos);
|
| }
|
| // new super() is never allowed.
|
| // super() is only allowed in derived constructor
|
| @@ -3056,7 +3056,7 @@ ParserBase<Traits>::ParseSuperExpression(bool is_new,
|
| // TODO(rossberg): This might not be the correct FunctionState for the
|
| // method here.
|
| function_state_->set_super_location(scanner()->location());
|
| - return this->SuperCallReference(scope_, factory(), pos);
|
| + return this->NewSuperCallReference(scope_, factory(), pos);
|
| }
|
| }
|
|
|
|
|