| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 43f1ed95d96f94484a9a42f672e71ce4907c935b..7e886fa35afd07a15edd5a3559e483c739913a6f 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -1010,7 +1010,6 @@ INCREASE_NODE_COUNT(ReturnStatement)
|
| INCREASE_NODE_COUNT(Conditional)
|
| INCREASE_NODE_COUNT(Literal)
|
| INCREASE_NODE_COUNT(ObjectLiteral)
|
| -INCREASE_NODE_COUNT(FunctionLiteral)
|
| INCREASE_NODE_COUNT(Assignment)
|
| INCREASE_NODE_COUNT(Throw)
|
| INCREASE_NODE_COUNT(Property)
|
| @@ -1084,6 +1083,12 @@ void AstConstructionVisitor::VisitDebuggerStatement(DebuggerStatement* node) {
|
| }
|
|
|
|
|
| +void AstConstructionVisitor::VisitFunctionLiteral(FunctionLiteral* node) {
|
| + increase_node_count();
|
| + add_flag(kDontInline);
|
| +}
|
| +
|
| +
|
| void AstConstructionVisitor::VisitSharedFunctionInfoLiteral(
|
| SharedFunctionInfoLiteral* node) {
|
| increase_node_count();
|
|
|