Index: src/incremental-marking.cc |
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
index 49936d7ce8fe2a5f651dc4636d5a82f26bc2b8a8..4223dde211e4030b858c6fbe87816107642ac638 100644 |
--- a/src/incremental-marking.cc |
+++ b/src/incremental-marking.cc |
@@ -728,7 +728,7 @@ void IncrementalMarking::VisitObject(Map* map, HeapObject* obj, int size) { |
IncrementalMarkingMarkingVisitor::IterateBody(map, obj); |
MarkBit mark_bit = Marking::MarkBitFrom(obj); |
-#ifdef DEBUG |
+#if ENABLE_SLOW_ASSERTS |
MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); |
SLOW_ASSERT(Marking::IsGrey(mark_bit) || |
(obj->IsFiller() && Marking::IsWhite(mark_bit)) || |