| Index: src/heap/mark-compact.h
|
| diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
|
| index 3db029e61021f87628087d286fefec3c89e1bf86..f7dfedd93f876e8a0e5620bb3da4d13895479bde 100644
|
| --- a/src/heap/mark-compact.h
|
| +++ b/src/heap/mark-compact.h
|
| @@ -418,9 +418,9 @@ class SlotsBuffer {
|
| // before sweeping when mark bits are still intact.
|
| static void RemoveInvalidSlots(Heap* heap, SlotsBuffer* buffer);
|
|
|
| - // Eliminate all slots that point to the given invalid_object.
|
| + // Eliminate all slots that are within the given address range.
|
| static void RemoveObjectSlots(Heap* heap, SlotsBuffer* buffer,
|
| - HeapObject* invalid_object);
|
| + Address start_slot, Address end_slot);
|
|
|
| // Ensures that there are no invalid slots in the chain of slots buffers.
|
| static void VerifySlots(Heap* heap, SlotsBuffer* buffer);
|
| @@ -742,8 +742,8 @@ class MarkCompactCollector {
|
| void VerifyIsSlotInLiveObject(Address slot, HeapObject* object);
|
|
|
| // Removes all the slots in the slot buffers that are within the given
|
| - // invalid_object.
|
| - void RemoveObjectSlots(HeapObject* invalid_object);
|
| + // address range.
|
| + void RemoveObjectSlots(Address start_slot, Address end_slot);
|
|
|
| private:
|
| class SweeperTask;
|
|
|