| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 7e19346592b986a3e6c82a5ddc99d6be0b39ec33..9fb5c9dc584f9abf247f6bbfca44a65c52ca3c39 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -4137,7 +4137,7 @@ void Parser::SetFunctionNameFromPropertyName(ObjectLiteralProperty* property,
|
|
|
| // Ignore "__proto__" as a name when it's being used to set the [[Prototype]]
|
| // of an object literal.
|
| - if (property->kind() == ObjectLiteralProperty::PROTOTYPE) return;
|
| + if (property->IsPrototype()) return;
|
|
|
| Expression* value = property->value();
|
|
|
|
|