Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index 5d22e4bc58ed80fcd4dedd45d60878cec9fd0aa8..a66f3394d3117585a1fd8af755b4cc54448464bb 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -413,6 +413,10 @@ class MemoryChunk { |
return concurrent_sweeping_; |
} |
+ bool SweepingDone() { |
+ return concurrent_sweeping_state().Value() == kSweepingDone; |
+ } |
+ |
// Manage live byte count, i.e., count of bytes in black objects. |
inline void ResetLiveBytes(); |
inline void IncrementLiveBytes(int by); |
@@ -767,10 +771,6 @@ class Page : public MemoryChunk { |
DCHECK(SweepingDone()); |
} |
- bool SweepingDone() { |
- return concurrent_sweeping_state().Value() == kSweepingDone; |
- } |
- |
void ResetFreeListStatistics(); |
size_t AvailableInFreeList(); |