| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index b60768bfc07a5d46c3fa1e027edaf87a2d2bea82..0e6b9804e09fe6776b0b61d97362d1d3ecf223ab 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -2768,7 +2768,7 @@ void MarkCompactCollector::MigrateObject(Address dst,
|
| int size,
|
| AllocationSpace dest) {
|
| HeapProfiler* heap_profiler = heap()->isolate()->heap_profiler();
|
| - if (heap_profiler->is_profiling()) {
|
| + if (heap_profiler->is_tracking_object_moves()) {
|
| heap_profiler->ObjectMoveEvent(src, dst, size);
|
| }
|
| ASSERT(heap()->AllowedToBeMigrated(HeapObject::FromAddress(src), dest));
|
|
|