| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 96883052dad1a9105cd23dd0e641952821fbc730..fe99aa63227892c8f9527935c3f4bfe824b8f7fa 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1362,7 +1362,7 @@ static bool ShouldOptimizeNewClosure(Isolate* isolate,
|
| Handle<SharedFunctionInfo> info) {
|
| return isolate->use_crankshaft() && !info->is_toplevel() &&
|
| info->is_compiled() && info->allows_lazy_compilation() &&
|
| - !info->optimization_disabled() && !isolate->DebuggerHasBreakPoints();
|
| + !isolate->DebuggerHasBreakPoints();
|
| }
|
|
|
|
|
|
|