Reviewers: Hannes Payer,

Description:
Remove release-mode assert that has out-stayed its welcome

[email protected]
BUG=

Please review this at https://codereview.chromium.org/1127333004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+2, -4 lines):
  M src/heap/mark-compact.h


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 {


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to