Index: src/objects-visiting.cc |
diff --git a/src/objects-visiting.cc b/src/objects-visiting.cc |
index 9ff97fcdbe646a15e893567cf4000ba210e32ce3..207f99e5de33bc3ed5d64b6b930443ed6bfa71de 100644 |
--- a/src/objects-visiting.cc |
+++ b/src/objects-visiting.cc |
@@ -218,7 +218,7 @@ Object* VisitWeakList(Heap* heap, |
head = retained; |
} else { |
// Subsequent elements in the list. |
- ASSERT(tail != NULL); |
+ DCHECK(tail != NULL); |
WeakListVisitor<T>::SetWeakNext(tail, retained); |
if (record_slots) { |
Object** next_slot = |
@@ -227,7 +227,7 @@ Object* VisitWeakList(Heap* heap, |
} |
} |
// Retained object is new tail. |
- ASSERT(!retained->IsUndefined()); |
+ DCHECK(!retained->IsUndefined()); |
candidate = reinterpret_cast<T*>(retained); |
tail = candidate; |