| Index: src/ast/ast.cc
|
| diff --git a/src/ast/ast.cc b/src/ast/ast.cc
|
| index ee39bfc4daaf09683d8d3039f7386e2e57e9ccf5..c1b424488a97f3a4b81804bdd6c88168fb4da508 100644
|
| --- a/src/ast/ast.cc
|
| +++ b/src/ast/ast.cc
|
| @@ -74,8 +74,8 @@ bool Expression::IsStringLiteral() const {
|
| return IsLiteral() && AsLiteral()->value()->IsString();
|
| }
|
|
|
| -bool Expression::IsPropertyName(HandleDereferenceMode deref_mode) const {
|
| - return IsLiteral() && AsLiteral()->IsPropertyName(deref_mode);
|
| +bool Expression::IsPropertyName() const {
|
| + return IsLiteral() && AsLiteral()->IsPropertyName();
|
| }
|
|
|
| bool Expression::IsNullLiteral() const {
|
| @@ -933,7 +933,7 @@ Call::CallType Call::GetCallType(Isolate* isolate,
|
| Property* property = expression()->AsProperty();
|
| if (property != nullptr) {
|
| bool is_super = property->IsSuperAccess();
|
| - if (property->key()->IsPropertyName(deref_mode)) {
|
| + if (property->key()->IsPropertyName()) {
|
| return is_super ? NAMED_SUPER_PROPERTY_CALL : NAMED_PROPERTY_CALL;
|
| } else {
|
| return is_super ? KEYED_SUPER_PROPERTY_CALL : KEYED_PROPERTY_CALL;
|
|
|