Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index f643b9dcec30990f77cd48ac7923ad211600b00e..76c60176ca3fb577ccbb1089832c5a8530dfd672 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1058,7 +1058,7 @@ void Compiler::InstallOptimizedCode(OptimizingCompiler* optimizing_compiler) { |
} else if (status != OptimizingCompiler::SUCCEEDED) { |
info->set_bailout_reason("failed/bailed out last time"); |
status = optimizing_compiler->AbortOptimization(); |
- } else if (isolate->debugger()->IsDebuggerActive()) { |
+ } else if (isolate->DebuggerHasBreakPoints()) { |
info->set_bailout_reason("debugger is active"); |
status = optimizing_compiler->AbortOptimization(); |
} else { |