Index: test/cctest/cctest.h |
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h |
index 40fb2390cd61bd56c35844f6e86abc9d699b4856..b012686e07498ccc64af9662b1658641d8bd6bea 100644 |
--- a/test/cctest/cctest.h |
+++ b/test/cctest/cctest.h |
@@ -546,7 +546,7 @@ static inline void SimulateIncrementalMarking(i::Heap* heap, |
} |
CHECK(marking->IsMarking() || marking->IsStopped()); |
if (marking->IsStopped()) { |
- marking->Start(i::Heap::kNoGCFlags); |
+ heap->StartIncrementalMarking(); |
} |
CHECK(marking->IsMarking()); |
if (!force_completion) return; |