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

Unified Diff: src/lithium-allocator.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/lithium-allocator.cc
diff --git a/src/lithium-allocator.cc b/src/lithium-allocator.cc
index 5f4f17f16fe1a76029381a414ae732d50f09424e..6417f0cb8532ac3fbf2b4ea981baea26ca284f71 100644
--- a/src/lithium-allocator.cc
+++ b/src/lithium-allocator.cc
@@ -1519,7 +1519,7 @@ void LAllocator::AllocateRegisters() {
LiveRange* current = unhandled_live_ranges_.RemoveLast();
DCHECK(UnhandledIsSorted());
LifetimePosition position = current->Start();
-#ifdef DEBUG
+#if DCHECK_IS_ON
allocation_finger_ = position;
#endif
TraceAlloc("Processing interval %d start=%d\n",

Powered by Google App Engine
This is Rietveld 408576698