| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 216ee66e2985dddbd4346d9e3b2831fd48bbab6c..104cf610538d79ad8f9c402712df4923681ff3cf 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -425,6 +425,7 @@ class ParserTraits {
|
| typedef ObjectLiteral::Property* ObjectLiteralProperty;
|
| typedef ZoneList<v8::internal::Expression*>* ExpressionList;
|
| typedef ZoneList<ObjectLiteral::Property*>* PropertyList;
|
| + typedef ZoneList<v8::internal::Statement*>* StatementList;
|
|
|
| // For constructing objects returned by the traversing functions.
|
| typedef AstNodeFactory<AstConstructionVisitor> Factory;
|
| @@ -592,6 +593,9 @@ class ParserTraits {
|
| ZoneList<ObjectLiteral::Property*>* NewPropertyList(int size, Zone* zone) {
|
| return new(zone) ZoneList<ObjectLiteral::Property*>(size, zone);
|
| }
|
| + ZoneList<v8::internal::Statement*>* NewStatementList(int size, Zone* zone) {
|
| + return new(zone) ZoneList<v8::internal::Statement*>(size, zone);
|
| + }
|
|
|
| // Temporary glue; these functions will move to ParserBase.
|
| Expression* ParseV8Intrinsic(bool* ok);
|
|
|