Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 36995336a47b8caf948227f0a78fed275842720c..c1dbbb7c2a4a4523c67ee594cabb95b282b89d07 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3302,8 +3302,7 @@ bool Heap::CanMoveObjectStart(HeapObject* object) { |
// for concurrent sweeping. The WasSwept predicate for concurrently swept |
// pages is set after sweeping all pages. |
return (!is_in_old_pointer_space && !is_in_old_data_space) || |
- page->WasSwept() || |
- (page->parallel_sweeping() <= MemoryChunk::SWEEPING_FINALIZE); |
+ page->WasSwept() || page->SweepingCompleted(); |
} |