Reviewers: Erik Corry,

Description:
Revert change r3240-3241 because it causes ARM tests to fail.

(non-lazily compiled function literals)


Please review this at http://codereview.chromium.org/376021

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/compiler.cc


Index: src/compiler.cc
===================================================================
--- src/compiler.cc     (revision 3247)
+++ src/compiler.cc     (working copy)
@@ -757,7 +757,9 @@


  void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) {
-  // FunctionLiteral is supported.
+  if (!expr->AllowsLazyCompilation()) {
+    BAILOUT("FunctionLiteral does not allow lazy compilation");
+  }
  }





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

Reply via email to