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