Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 03fd45a332d53698f5e26d007007dcc47e6eae23..1cfc787082fd9437114e068f671f4ec2657fa110 100644 |
--- a/src/heap/mark-compact.h |
+++ b/src/heap/mark-compact.h |
@@ -210,8 +210,7 @@ class MarkingDeque { |
// heap. |
INLINE(void PushBlack(HeapObject* object)) { |
DCHECK(object->IsHeapObject()); |
- // TODO(jochen): Remove again before we branch for 4.2. |
- CHECK(object->IsHeapObject() && object->map()->IsMap()); |
+ DCHECK(object->map()->IsMap()); |
if (IsFull()) { |
Marking::BlackToGrey(object); |
MemoryChunk::IncrementLiveBytesFromGC(object->address(), -object->Size()); |
@@ -224,8 +223,7 @@ class MarkingDeque { |
INLINE(void PushGrey(HeapObject* object)) { |
DCHECK(object->IsHeapObject()); |
- // TODO(jochen): Remove again before we branch for 4.2. |
- CHECK(object->IsHeapObject() && object->map()->IsMap()); |
+ DCHECK(object->map()->IsMap()); |
if (IsFull()) { |
SetOverflowed(); |
} else { |