Index: test/cctest/heap/heap-utils.cc |
diff --git a/test/cctest/heap/heap-utils.cc b/test/cctest/heap/heap-utils.cc |
index c44f82f1d90713026b0f8da7b1a57e505c5b02e8..35a584b739efce28cc0d4743f0813e2f80c2944e 100644 |
--- a/test/cctest/heap/heap-utils.cc |
+++ b/test/cctest/heap/heap-utils.cc |
@@ -142,6 +142,7 @@ void SimulateFullSpace(v8::internal::NewSpace* space, |
} |
void SimulateIncrementalMarking(i::Heap* heap, bool force_completion) { |
+ CHECK(FLAG_incremental_marking); |
i::IncrementalMarking* marking = heap->incremental_marking(); |
i::MarkCompactCollector* collector = heap->mark_compact_collector(); |
if (collector->sweeping_in_progress()) { |