From d989a25770acf8994235e7f4c36f11700537fae9 Mon Sep 17 00:00:00 2001 From: erikcorry Date: Fri, 15 May 2015 07:48:17 -0700 Subject: [PATCH] Remove release-mode assert that has out-stayed its welcome R=hpayer@chromium.org BUG= Review URL: https://codereview.chromium.org/1127333004 Cr-Commit-Position: refs/heads/master@{#28425} --- src/heap/mark-compact.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h index 322965dec..f6c73efc3 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 { -- 2.34.1