diff --git a/src/compiler.cc b/src/compiler.cc index 0f23992054..b98a931ce6 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -759,9 +759,7 @@ void CodeGenSelector::VisitDebuggerStatement(DebuggerStatement* stmt) { void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) { - if (!expr->AllowsLazyCompilation()) { - BAILOUT("FunctionLiteral does not allow lazy compilation"); - } + // Function literal is supported. }