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

Unified Diff: src/heap/spaces.cc

Issue 769263002: Add support for enabling DCHECKs in release mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 6 years 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
Index: src/heap/spaces.cc
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc
index 554b71706df22cb2255809cd2293b56a7ab31848..abd9ed8c58a59d7ff514bd1954aca0fbd3583691 100644
--- a/src/heap/spaces.cc
+++ b/src/heap/spaces.cc
@@ -2539,7 +2539,7 @@ void FreeList::RepairLists(Heap* heap) {
}
-#ifdef DEBUG
+#if DCHECK_IS_ON
intptr_t FreeListCategory::SumFreeList() {
intptr_t sum = 0;
FreeListNode* cur = top();

Powered by Google App Engine
This is Rietveld 408576698