From cff817d70b269affa4d07a13df667f5905cad2b6 Mon Sep 17 00:00:00 2001 From: "fschneider@chromium.org" Date: Mon, 9 Nov 2009 13:30:35 +0000 Subject: [PATCH] Revert change r3240-3241 because it causes ARM tests to fail. (non-lazily compiled function literals) Review URL: http://codereview.chromium.org/376021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3251 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compiler.cc b/src/compiler.cc index 75060b0..6be922c 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -765,7 +765,9 @@ void CodeGenSelector::VisitDebuggerStatement(DebuggerStatement* stmt) { void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) { - // FunctionLiteral is supported. + if (!expr->AllowsLazyCompilation()) { + BAILOUT("FunctionLiteral does not allow lazy compilation"); + } } -- 2.7.4