Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index 4c57ecc8332849fdd62834d2ebd7989603db8d2d..f1cc38e00f3f016552b6cb010a7acc820d45a470 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -807,9 +807,9 @@ void IncrementalMarking::UpdateMarkingDequeAfterScavenge() { |
new_top = ((new_top + 1) & mask); |
DCHECK(new_top != marking_deque->bottom()); |
#ifdef DEBUG |
+ // Mark bit of the source object should be cleared |
MarkBit mark_bit = Marking::MarkBitFrom(obj); |
- DCHECK(Marking::IsGrey(mark_bit) || |
- (obj->IsFiller() && Marking::IsWhite(mark_bit))); |
+ DCHECK(Marking::IsWhite(mark_bit)); |
#endif |
} |
} else if (obj->map() != filler_map) { |