Index: src/heap/remembered-set.cc |
diff --git a/src/heap/remembered-set.cc b/src/heap/remembered-set.cc |
index e6a4a5f983bcc3590fe4da0da76fe95fc1adcfe3..8d3957bb4dca80f35d536fccbc62c062e794c33d 100644 |
--- a/src/heap/remembered-set.cc |
+++ b/src/heap/remembered-set.cc |
@@ -31,7 +31,7 @@ void RememberedSet<direction>::ClearInvalidSlots(Heap* heap) { |
if (slots != nullptr) { |
slots->Iterate( |
[heap, chunk](SlotType type, Address host_addr, Address addr) { |
- if (Marking::IsBlack(Marking::MarkBitFrom(host_addr))) { |
+ if (Marking::IsBlack(ObjectMarking::MarkBitFrom(host_addr))) { |
return KEEP_SLOT; |
} else { |
return REMOVE_SLOT; |
@@ -88,7 +88,7 @@ bool RememberedSet<direction>::IsValidSlot(Heap* heap, MemoryChunk* chunk, |
HeapObject* heap_object = HeapObject::cast(object); |
// If the target object is not black, the source slot must be part |
// of a non-black (dead) object. |
- return Marking::IsBlack(Marking::MarkBitFrom(heap_object)) && |
+ return Marking::IsBlack(ObjectMarking::MarkBitFrom(heap_object)) && |
heap->mark_compact_collector()->IsSlotInBlackObject( |
chunk, reinterpret_cast<Address>(slot)); |
} |