| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 7fa630cb911755dbe4d79725549357acaa8a469d..43b09a70156ac11a8109bc2e75ff6cec247bef44 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -750,7 +750,7 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase<Parser>) {
|
|
|
| V8_INLINE static bool IsBoilerplateProperty(
|
| ObjectLiteral::Property* property) {
|
| - return ObjectLiteral::IsBoilerplateProperty(property);
|
| + return !property->IsPrototype();
|
| }
|
|
|
| V8_INLINE bool IsNative(Expression* expr) const {
|
|
|