| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index db68b1b39e65ffa3bc018ae1d474911b1263b100..df91c4e5669066296f0f32877ead7fde5c0ea0f2 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -4242,7 +4242,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();
|
|
|
|
|