Revision: 3300 Author: [email protected] Date: Fri Nov 13 02:02:32 2009 Log: Top-level compiler: Re-allow non-lazily compiled function literals.
This change re-allows non-lazy compiled function literals for top-level compilation. There was a problem on ARM exposed through this change which was fixed as part of r3289 in fast-codegen-arm.cc (Threading and Threading2 tests failed) It occurred before r3289 when we allocate a local context at the beginning of a function. The code for the stack check was split up in an unintended way (load of stack check limit into r2, and use of r2 in the actual stack check code). Review URL: http://codereview.chromium.org/385070 http://code.google.com/p/v8/source/detail?r=3300 Modified: /branches/bleeding_edge/src/compiler.cc ======================================= --- /branches/bleeding_edge/src/compiler.cc Thu Nov 12 03:38:01 2009 +++ /branches/bleeding_edge/src/compiler.cc Fri Nov 13 02:02:32 2009 @@ -759,9 +759,7 @@ void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) { - if (!expr->AllowsLazyCompilation()) { - BAILOUT("FunctionLiteral does not allow lazy compilation"); - } + // Function literal is supported. } --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
