Index: src/runtime-profiler.cc |
diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc |
index 8d258acef04d7f63eb84258ca3cbb1bf23a73848..ce9a3082363d1966fd7a934b6cece51c44224059 100644 |
--- a/src/runtime-profiler.cc |
+++ b/src/runtime-profiler.cc |
@@ -171,7 +171,7 @@ void RuntimeProfiler::AttemptOnStackReplacement(JSFunction* function) { |
// Debug::has_break_points(). |
ASSERT(function->IsMarkedForLazyRecompilation()); |
if (!FLAG_use_osr || |
- isolate_->debug()->has_break_points() || |
+ isolate_->DebuggerHasBreakPoints() || |
function->IsBuiltin()) { |
return; |
} |