| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 58ef47acac34b1931fe0296ab949bf76626e4862..501e9e54651a7a6d5a10e2ae7ced6ab9d0a1b81a 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -408,11 +408,6 @@ class ParserTraits {
|
| return string->AsArrayIndex(index);
|
| }
|
|
|
| - bool IsConstructorProperty(ObjectLiteral::Property* property) {
|
| - return property->key()->raw_value()->EqualsString(
|
| - ast_value_factory()->constructor_string());
|
| - }
|
| -
|
| static Expression* GetPropertyValue(ObjectLiteral::Property* property) {
|
| return property->value();
|
| }
|
| @@ -422,7 +417,9 @@ class ParserTraits {
|
| static void PushLiteralName(FuncNameInferrer* fni, const AstRawString* id) {
|
| fni->PushLiteralName(id);
|
| }
|
| +
|
| void PushPropertyName(FuncNameInferrer* fni, Expression* expression);
|
| +
|
| static void InferFunctionName(FuncNameInferrer* fni,
|
| FunctionLiteral* func_to_infer) {
|
| fni->AddFunction(func_to_infer);
|
|
|