Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index fb9db7cda209199fca38da5c3205e009fdd10780..013c6331da4ccf994bff6134fe2cec3e6b44659f 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -1047,6 +1047,7 @@ REGULAR_NODE(SwitchStatement) |
REGULAR_NODE(Conditional) |
REGULAR_NODE(Literal) |
REGULAR_NODE(ObjectLiteral) |
+REGULAR_NODE(RegExpLiteral) |
REGULAR_NODE(Assignment) |
REGULAR_NODE(Throw) |
REGULAR_NODE(Property) |
@@ -1077,7 +1078,6 @@ DONT_OPTIMIZE_NODE(DebuggerStatement) |
DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral) |
DONT_INLINE_NODE(FunctionLiteral) |
-DONT_INLINE_NODE(RegExpLiteral) // TODO(1322): Allow materialized literals. |
DONT_INLINE_NODE(ArrayLiteral) // TODO(1322): Allow materialized literals. |
DONT_SELFOPTIMIZE_NODE(DoWhileStatement) |