Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index ff0a7472324f0f1c8f9cec1e38e3667d9c80a7a5..6c589054fb27c0d15f94956862352ed0ff2acf67 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -6379,7 +6379,7 @@ intptr_t Heap::PromotedSpaceSizeOfObjects() { |
bool Heap::AdvanceSweepers(int step_size) { |
- ASSERT(isolate()->num_sweeper_threads() == 0); |
+ ASSERT(!mark_compact_collector()->AreSweeperThreadsActivated()); |
bool sweeping_complete = old_data_space()->AdvanceSweeper(step_size); |
sweeping_complete &= old_pointer_space()->AdvanceSweeper(step_size); |
return sweeping_complete; |