Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 1f210bf7429419bc4a8e9062978d0f4906dc2689..d6d15c68fed41ca6faad67436758ff106b84a057 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1361,8 +1361,7 @@ Handle<JSObject> Factory::NewFunctionPrototype(Handle<JSFunction> function) { |
static bool ShouldOptimizeNewClosure(Isolate* isolate, |
Handle<SharedFunctionInfo> info) { |
return isolate->use_crankshaft() && !info->is_toplevel() && |
- info->is_compiled() && info->allows_lazy_compilation() && |
- !isolate->DebuggerHasBreakPoints(); |
+ info->is_compiled() && info->allows_lazy_compilation(); |
} |