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

Unified Diff: src/compiler/ast-graph-builder.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/compiler/ast-graph-builder.h
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h
index a2cd26f1b2e12f790c1ee40b176948d36692c66b..04d713a62e2093f3f51e6c1546460584c8810bbc 100644
--- a/src/compiler/ast-graph-builder.h
+++ b/src/compiler/ast-graph-builder.h
@@ -330,7 +330,7 @@ class AstGraphBuilder::AstContext BASE_EMBEDDED {
// We want to be able to assert, in a context-specific way, that the stack
// height makes sense when the context is filled.
-#ifdef DEBUG
+#if DCHECK_IS_ON
int original_height_;
#endif

Powered by Google App Engine
This is Rietveld 408576698