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

Unified Diff: src/layout-descriptor.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/json-parser.h ('k') | src/lithium-allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/layout-descriptor.h
diff --git a/src/layout-descriptor.h b/src/layout-descriptor.h
index cc149f18a431b48a004d0fdf7827e5d07fa2d811..be588dae4fdc04816919de9f5a1203f1f5fcc40b 100644
--- a/src/layout-descriptor.h
+++ b/src/layout-descriptor.h
@@ -61,7 +61,7 @@ class LayoutDescriptor : public FixedTypedArray<Uint32ArrayTraits> {
// tagged (FastPointerLayout).
V8_INLINE static LayoutDescriptor* FastPointerLayout();
-#ifdef DEBUG
+#ifdef ENABLE_SLOW_DCHECKS
// Check that this layout descriptor corresponds to given map.
bool IsConsistentWithMap(Map* map);
#endif
« no previous file with comments | « src/json-parser.h ('k') | src/lithium-allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698