| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 0c58869dd639169d027934e465237c49b844af37..02dfe15f8ef31bdc76b978277433c62951c5d921 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -412,6 +412,11 @@
|
| 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();
|
| }
|
| @@ -421,9 +426,7 @@
|
| 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);
|
|
|