| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index 38008c3f19dae7c9b804e7837ff8f8a6058b17f0..c34d12c0f2d92d107083135ebb15a5944eb36a42 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -4357,10 +4357,7 @@ void MarkCompactCollector::ParallelSweepSpacesComplete() {
|
|
|
|
|
| void MarkCompactCollector::EnableCodeFlushing(bool enable) {
|
| - if (isolate()->debug()->is_loaded() ||
|
| - isolate()->debug()->has_break_points()) {
|
| - enable = false;
|
| - }
|
| + if (isolate()->debug()->is_active()) enable = false;
|
|
|
| if (enable) {
|
| if (code_flusher_ != NULL) return;
|
|
|