Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 4c286f2c1c14e38eb22694ac933850ab7d27099c..8d7666910e833cc27884617fef17fbb15f483600 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -5644,7 +5644,8 @@ TEST(ArrayShiftSweeping) { |
CHECK(heap->InOldSpace(o->elements())); |
CHECK(heap->InOldSpace(*o)); |
Page* page = Page::FromAddress(o->elements()->address()); |
- CHECK(page->parallel_sweeping() <= MemoryChunk::SWEEPING_FINALIZE || |
+ CHECK(page->parallel_sweeping_state().Value() <= |
+ MemoryChunk::kSweepingFinalize || |
Marking::IsBlack(Marking::MarkBitFrom(o->elements()))); |
} |