Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index cf9ba155fed2b78558466f57d6a66638133abf23..4dc6c9287dacf25c52400f41780a8dc4ffa86d94 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -2008,18 +2008,15 @@ void MarkCompactCollector::MarkImplicitRefGroups( |
// After: the marking stack is empty, and all objects reachable from the |
// marking stack have been marked, or are overflowed in the heap. |
void MarkCompactCollector::EmptyMarkingDeque() { |
- Map* filler_map = heap_->one_pointer_filler_map(); |
while (!marking_deque_.IsEmpty()) { |
HeapObject* object = marking_deque_.Pop(); |
- // Explicitly skip one word fillers. Incremental markbit patterns are |
- // correct only for objects that occupy at least two words. |
- Map* map = object->map(); |
- if (map == filler_map) continue; |
+ DCHECK(!object->IsFiller()); |
DCHECK(object->IsHeapObject()); |
DCHECK(heap()->Contains(object)); |
DCHECK(!Marking::IsWhite(ObjectMarking::MarkBitFrom(object))); |
+ Map* map = object->map(); |
MarkBit map_mark = ObjectMarking::MarkBitFrom(map); |
MarkObject(map, map_mark); |