| Index: src/runtime-profiler.cc
|
| diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc
|
| index 00f7de476061db3529e256a168df618ec528a484..bd02a6904270c9fadfb0766fb755a86141407e37 100644
|
| --- a/src/runtime-profiler.cc
|
| +++ b/src/runtime-profiler.cc
|
| @@ -227,6 +227,8 @@ void RuntimeProfiler::AddSample(JSFunction* function, int weight) {
|
| void RuntimeProfiler::OptimizeNow() {
|
| HandleScope scope(isolate_);
|
|
|
| + if (isolate_->DebuggerHasBreakPoints()) return;
|
| +
|
| if (FLAG_parallel_recompilation) {
|
| // Take this as opportunity to process the optimizing compiler thread's
|
| // output queue so that it does not unnecessarily keep objects alive.
|
|
|