Revision: 11958
Author:   [email protected]
Date:     Fri Jun 29 09:39:40 2012
Log:      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.

[email protected]
BUG=v8:1322

Review URL: https://chromiumcodereview.appspot.com/10690045
http://code.google.com/p/v8/source/detail?r=11958

Modified:
 /branches/bleeding_edge/src/ast.cc

=======================================
--- /branches/bleeding_edge/src/ast.cc  Wed Jun 27 07:46:01 2012
+++ /branches/bleeding_edge/src/ast.cc  Fri Jun 29 09:39:40 2012
@@ -1048,7 +1048,6 @@
 REGULAR_NODE(Literal)
 REGULAR_NODE(ObjectLiteral)
 REGULAR_NODE(RegExpLiteral)
-REGULAR_NODE(ArrayLiteral)
 REGULAR_NODE(Assignment)
 REGULAR_NODE(Throw)
 REGULAR_NODE(Property)
@@ -1078,6 +1077,7 @@
 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)

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to