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

Unified Diff: src/cached-powers.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/cached-powers.cc
diff --git a/src/cached-powers.cc b/src/cached-powers.cc
index ccf8882e76a261eaa5e13b0fe87555f0ed361900..2e837e778ccde4b9eb313c521eee5d4e035e98ae 100644
--- a/src/cached-powers.cc
+++ b/src/cached-powers.cc
@@ -110,7 +110,7 @@ static const CachedPower kCachedPowers[] = {
{V8_2PART_UINT64_C(0xaf87023b, 9bf0ee6b), 1066, 340},
};
-#ifdef DEBUG
+#if DCHECK_IS_ON
static const int kCachedPowersLength = arraysize(kCachedPowers);
#endif

Powered by Google App Engine
This is Rietveld 408576698