Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index 2cca470ce0df511898572cd338d42cf4ac04e24f..f50d85cfdad8bc15ddb2754a698cc503bf64bb8c 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -3107,13 +3107,13 @@ bool HeapSnapshotGenerator::GenerateSnapshot() { |
// stable. It should follow TagGlobalObjects as that can allocate. |
AssertNoAllocation no_alloc; |
-#ifdef DEBUG |
+#ifdef VERIFY_HEAP |
debug_heap->Verify(); |
#endif |
SetProgressTotal(1); // 1 pass. |
-#ifdef DEBUG |
+#ifdef VERIFY_HEAP |
debug_heap->Verify(); |
#endif |