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

Unified Diff: src/compiler/scheduler.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/compiler/scheduler.cc
diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc
index 96d1c3715f6e956c82154218eca3021a994740c1..adbe594b9e32ddeffeab2d72d3757a2ca9a219cf 100644
--- a/src/compiler/scheduler.cc
+++ b/src/compiler/scheduler.cc
@@ -1211,7 +1211,7 @@ class ScheduleEarlyNodeVisitor {
}
}
-#if DEBUG
+#if DCHECK_IS_ON
bool InsideSameDominatorChain(BasicBlock* b1, BasicBlock* b2) {
BasicBlock* dominator = scheduler_->GetCommonDominator(b1, b2);
return dominator == b1 || dominator == b2;

Powered by Google App Engine
This is Rietveld 408576698