Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index cbca81753b59b90ec9f25ae4e7e6607bec5a2dc2..38e95cbf1838d412e5b51f9a4121452987cfea37 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9461,7 +9461,7 @@ void JSFunction::AttemptConcurrentOptimization() { |
} |
DCHECK(isolate->use_crankshaft()); |
DCHECK(!IsInOptimizationQueue()); |
- DCHECK(is_compiled() || isolate->DebuggerHasBreakPoints()); |
+ DCHECK(is_compiled() || isolate->debug()->has_break_points()); |
DCHECK(!IsOptimized()); |
DCHECK(shared()->allows_lazy_compilation() || code()->optimizable()); |
DCHECK(isolate->concurrent_recompilation_enabled()); |