Make functions with switch statements inlinable.

Review URL: https://chromiumcodereview.appspot.com/10083038

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11370 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7f30cf11
...@@ -1024,6 +1024,7 @@ REGULAR_NODE(IfStatement) ...@@ -1024,6 +1024,7 @@ REGULAR_NODE(IfStatement)
REGULAR_NODE(ContinueStatement) REGULAR_NODE(ContinueStatement)
REGULAR_NODE(BreakStatement) REGULAR_NODE(BreakStatement)
REGULAR_NODE(ReturnStatement) REGULAR_NODE(ReturnStatement)
REGULAR_NODE(SwitchStatement)
REGULAR_NODE(Conditional) REGULAR_NODE(Conditional)
REGULAR_NODE(Literal) REGULAR_NODE(Literal)
REGULAR_NODE(ObjectLiteral) REGULAR_NODE(ObjectLiteral)
...@@ -1056,7 +1057,6 @@ DONT_OPTIMIZE_NODE(TryFinallyStatement) ...@@ -1056,7 +1057,6 @@ DONT_OPTIMIZE_NODE(TryFinallyStatement)
DONT_OPTIMIZE_NODE(DebuggerStatement) DONT_OPTIMIZE_NODE(DebuggerStatement)
DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral) DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral)
DONT_INLINE_NODE(SwitchStatement)
DONT_INLINE_NODE(FunctionLiteral) DONT_INLINE_NODE(FunctionLiteral)
DONT_INLINE_NODE(RegExpLiteral) // TODO(1322): Allow materialized literals. DONT_INLINE_NODE(RegExpLiteral) // TODO(1322): Allow materialized literals.
DONT_INLINE_NODE(ArrayLiteral) // TODO(1322): Allow materialized literals. DONT_INLINE_NODE(ArrayLiteral) // TODO(1322): Allow materialized literals.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment