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

Unified Diff: src/codegen.h

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/codegen.h
diff --git a/src/codegen.h b/src/codegen.h
index ba99a404a38a61b201f792c38539c32652c0acd7..d4e527f4714532c4591208543ed31771dc1bbea7 100644
--- a/src/codegen.h
+++ b/src/codegen.h
@@ -163,7 +163,7 @@ class CodeAgingHelper {
CopyBytes(new_buffer, young_sequence_.start(), young_sequence_.length());
}
-#ifdef DEBUG
+#if DCHECK_IS_ON
bool IsOld(byte* candidate) const;
#endif

Powered by Google App Engine
This is Rietveld 408576698