Disallow inlining of functions containing array literals.

This is disabled due to regressions in 3d-cube, but leaves the actual
code to allow inlining in place so it can easily be enabled again.

R=jkummerow@chromium.org
BUG=v8:1322

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11958 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 98b89329
...@@ -1048,7 +1048,6 @@ REGULAR_NODE(Conditional) ...@@ -1048,7 +1048,6 @@ REGULAR_NODE(Conditional)
REGULAR_NODE(Literal) REGULAR_NODE(Literal)
REGULAR_NODE(ObjectLiteral) REGULAR_NODE(ObjectLiteral)
REGULAR_NODE(RegExpLiteral) REGULAR_NODE(RegExpLiteral)
REGULAR_NODE(ArrayLiteral)
REGULAR_NODE(Assignment) REGULAR_NODE(Assignment)
REGULAR_NODE(Throw) REGULAR_NODE(Throw)
REGULAR_NODE(Property) REGULAR_NODE(Property)
...@@ -1078,6 +1077,7 @@ DONT_OPTIMIZE_NODE(TryFinallyStatement) ...@@ -1078,6 +1077,7 @@ DONT_OPTIMIZE_NODE(TryFinallyStatement)
DONT_OPTIMIZE_NODE(DebuggerStatement) DONT_OPTIMIZE_NODE(DebuggerStatement)
DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral) DONT_OPTIMIZE_NODE(SharedFunctionInfoLiteral)
DONT_INLINE_NODE(ArrayLiteral) // TODO(1322): Allow materialized literals.
DONT_INLINE_NODE(FunctionLiteral) DONT_INLINE_NODE(FunctionLiteral)
DONT_SELFOPTIMIZE_NODE(DoWhileStatement) DONT_SELFOPTIMIZE_NODE(DoWhileStatement)
......
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