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

Unified Diff: src/full-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
« no previous file with comments | « src/frames.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen.h
diff --git a/src/full-codegen.h b/src/full-codegen.h
index 1439942db8ae33785ce817ba91d3c669e34cddf9..8b41b12b72281425de6b58e6793d5c0f55f0df97 100644
--- a/src/full-codegen.h
+++ b/src/full-codegen.h
@@ -1017,10 +1017,10 @@ class BackEdgeTable {
Code* unoptimized_code,
Address pc_after);
-#ifdef DEBUG
+#if DCHECK_IS_ON
// Verify that all back edges of a certain loop depth are patched.
static bool Verify(Isolate* isolate, Code* unoptimized_code);
-#endif // DEBUG
+#endif // DCHECK_IS_ON
private:
Address entry_at(uint32_t index) {
« no previous file with comments | « src/frames.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698