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

Unified Diff: src/bignum.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
« no previous file with comments | « src/base/platform/mutex.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bignum.cc
diff --git a/src/bignum.cc b/src/bignum.cc
index 254cb012b661c4b5bfe40039088343eccb1aed16..067ad0dd1f2e5955cabcfb77c5531b0195f435f2 100644
--- a/src/bignum.cc
+++ b/src/bignum.cc
@@ -714,7 +714,7 @@ void Bignum::BigitsShiftLeft(int shift_amount) {
void Bignum::SubtractTimes(const Bignum& other, int factor) {
-#ifdef DEBUG
+#if DCHECK_IS_ON
Bignum a, b;
a.AssignBignum(*this);
b.AssignBignum(other);
« no previous file with comments | « src/base/platform/mutex.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698