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

Unified Diff: src/deoptimizer.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/contexts.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index 612d5f6ecf466d0902c032d491b3fd661c48efe8..3aa2d12eeb53bc192960ffdd16db70bcbfb8dc56 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -442,9 +442,9 @@ class Deoptimizer : public Malloced {
int materialization_value_index_;
int materialization_object_index_;
-#ifdef DEBUG
+#if DCHECK_IS_ON
DisallowHeapAllocation* disallow_heap_allocation_;
-#endif // DEBUG
+#endif // DCHECK_IS_ON
CodeTracer::Scope* trace_scope_;
« no previous file with comments | « src/contexts.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698