Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 6b68705d27760ae8b450a6ce88c22d54b01e4142..65c6dc70731653937364bb894d09f7977377ed4c 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -1066,6 +1066,7 @@ REGULAR_NODE(CompareOperation) |
REGULAR_NODE(ThisFunction) |
REGULAR_NODE(Call) |
REGULAR_NODE(CallNew) |
+REGULAR_NODE(FunctionLiteral) |
// In theory, for VariableProxy we'd have to add: |
// if (node->var()->IsLookupSlot()) add_flag(kDontInline); |
// But node->var() is usually not bound yet at VariableProxy creation time, and |
@@ -1089,7 +1090,6 @@ DONT_OPTIMIZE_NODE(DebuggerStatement) |
DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral) |
DONT_INLINE_NODE(ArrayLiteral) // TODO(1322): Allow materialized literals. |
-DONT_INLINE_NODE(FunctionLiteral) |
DONT_SELFOPTIMIZE_NODE(DoWhileStatement) |
DONT_SELFOPTIMIZE_NODE(WhileStatement) |