Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 9b0198f82578e25064fa94207604ae14537188c7..634d1b3c7d11b55d204c2a1c4649ae61ec1c1b27 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -3100,7 +3100,7 @@ bool Heap::CanMoveObjectStart(HeapObject* object) { |
// (3) the page was already concurrently swept. This case is an optimization |
// for concurrent sweeping. The WasSwept predicate for concurrently swept |
// pages is set after sweeping all pages. |
- return !InOldSpace(address) || page->WasSwept() || page->SweepingCompleted(); |
+ return !InOldSpace(address) || page->SweepingDone(); |
} |