Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 3db029e61021f87628087d286fefec3c89e1bf86..3fe2c92c33cd0bfca4dec505c4ca9ccf3f4ed23b 100644 |
--- a/src/heap/mark-compact.h |
+++ b/src/heap/mark-compact.h |
@@ -420,7 +420,7 @@ class SlotsBuffer { |
// Eliminate all slots that point to the given invalid_object. |
Michael Starzinger
2015/07/03 11:24:55
nit: Comment no longer applies.
Hannes Payer (out of office)
2015/07/03 11:26:53
Done.
|
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; |