| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 980dba63717a55a4f417f189c39d6d76d09b910b..7e886fa35afd07a15edd5a3559e483c739913a6f 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -1009,6 +1009,7 @@ INCREASE_NODE_COUNT(BreakStatement)
|
| INCREASE_NODE_COUNT(ReturnStatement)
|
| INCREASE_NODE_COUNT(Conditional)
|
| INCREASE_NODE_COUNT(Literal)
|
| +INCREASE_NODE_COUNT(ObjectLiteral)
|
| INCREASE_NODE_COUNT(Assignment)
|
| INCREASE_NODE_COUNT(Throw)
|
| INCREASE_NODE_COUNT(Property)
|
| @@ -1112,12 +1113,6 @@ void AstConstructionVisitor::VisitRegExpLiteral(RegExpLiteral* node) {
|
| }
|
|
|
|
|
| -void AstConstructionVisitor::VisitObjectLiteral(ObjectLiteral* node) {
|
| - increase_node_count();
|
| - add_flag(kDontInline); // TODO(1322): Allow materialized literals.
|
| -}
|
| -
|
| -
|
| void AstConstructionVisitor::VisitArrayLiteral(ArrayLiteral* node) {
|
| increase_node_count();
|
| add_flag(kDontInline); // TODO(1322): Allow materialized literals.
|
|
|