Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: src/objects-visiting.cc

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects-visiting.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/objects-visiting.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698