| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 906c2407299c63f6a9f70ccddfe33fc4e134661a..ca3ab7851d39f69528d2291cf45c314f1bf4743a 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)
|
| @@ -1086,6 +1085,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();
|
|
|