Index: test/cctest/cctest.h |
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h |
index a0bc09d95062cbbc9a8b12799b4fb37a2106acf5..0dd34d19a04a50b8381b8db202f6445cfc1e5725 100644 |
--- a/test/cctest/cctest.h |
+++ b/test/cctest/cctest.h |
@@ -641,7 +641,7 @@ static inline void SimulateIncrementalMarking(i::Heap* heap, |
while (!marking->IsComplete()) { |
marking->Step(i::MB, i::IncrementalMarking::NO_GC_VIA_STACK_GUARD); |
if (marking->IsReadyToOverApproximateWeakClosure()) { |
- marking->MarkObjectGroups(); |
+ marking->FinalizeIncrementally(); |
} |
} |
CHECK(marking->IsComplete()); |