Add function literals that always require non-lazy compilation to the top-level compiler.

Review URL: http://codereview.chromium.org/371064

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3241 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0ca9beb3
...@@ -757,9 +757,7 @@ void CodeGenSelector::VisitDebuggerStatement(DebuggerStatement* stmt) { ...@@ -757,9 +757,7 @@ void CodeGenSelector::VisitDebuggerStatement(DebuggerStatement* stmt) {
void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) { void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) {
if (!expr->AllowsLazyCompilation()) { // FunctionLiteral is supported.
BAILOUT("FunctionLiteral does not allow lazy compilation");
}
} }
......
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