| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index 5c2c012f04f7d32386eb085405d1185a8e8e9df0..48d66ac2f2f1c2f3e092e4ce3e4269049bb77d65 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -1637,7 +1637,7 @@ class MarkCompactCollector::EvacuateVisitorBase
|
| : heap_(heap),
|
| compaction_spaces_(compaction_spaces),
|
| profiling_(
|
| - heap->isolate()->cpu_profiler()->is_profiling() ||
|
| + heap->isolate()->is_profiling() ||
|
| heap->isolate()->logger()->is_logging_code_events() ||
|
| heap->isolate()->heap_profiler()->is_tracking_object_moves()) {}
|
|
|
|
|