Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index ca3ab7851d39f69528d2291cf45c314f1bf4743a..906c2407299c63f6a9f70ccddfe33fc4e134661a 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -1010,6 +1010,7 @@ 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) |
@@ -1085,12 +1086,6 @@ void AstConstructionVisitor::VisitDebuggerStatement(DebuggerStatement* node) { |
} |
-void AstConstructionVisitor::VisitFunctionLiteral(FunctionLiteral* node) { |
- increase_node_count(); |
- add_flag(kDontInline); |
-} |
- |
- |
void AstConstructionVisitor::VisitSharedFunctionInfoLiteral( |
SharedFunctionInfoLiteral* node) { |
increase_node_count(); |