| Index: src/heap/objects-visiting-inl.h
|
| diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h
|
| index ea18b2e9bbaf3f3cd3b5b16e9b2808d4f5614a9e..06fa10ef042fc731260bc6aadb010066bfea82a5 100644
|
| --- a/src/heap/objects-visiting-inl.h
|
| +++ b/src/heap/objects-visiting-inl.h
|
| @@ -233,7 +233,7 @@ void StaticMarkingVisitor<StaticVisitor>::VisitCell(Heap* heap,
|
| RelocInfo* rinfo) {
|
| DCHECK(rinfo->rmode() == RelocInfo::CELL);
|
| Cell* cell = rinfo->target_cell();
|
| - // No need to record slots because the cell space is not compacted during GC.
|
| + heap->mark_compact_collector()->RecordRelocSlot(rinfo, cell);
|
| if (!rinfo->host()->IsWeakObject(cell)) {
|
| StaticVisitor::MarkObject(heap, cell);
|
| }
|
|
|