Index: Source/platform/heap/ThreadState.h |
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h |
index 78373388e3890f3d7c7880f34eb4e95a60fcdd89..c03e56645d0c27fb0dae16ca24a50f61b6a578c3 100644 |
--- a/Source/platform/heap/ThreadState.h |
+++ b/Source/platform/heap/ThreadState.h |
@@ -466,7 +466,7 @@ public: |
// HeapTypeTrait<Type>::index. |
ThreadHeap* heap(int index) const { return m_heaps[index]; } |
-#if ENABLE(ASSERT) |
+#if ENABLE(ASSERT) || ENABLE(GC_PROFILE_MARKING) |
// Infrastructure to determine if an address is within one of the |
// address ranges for the Blink heap. If the address is in the Blink |
// heap the containing heap page is returned. |
@@ -497,6 +497,11 @@ public: |
static const GCInfo* findGCInfoFromAllThreads(Address); |
#endif |
+#if ENABLE(GC_PROFILE_FREE_LIST) |
+ void snapshotFreeListIfNecessary(); |
+ void snapshotFreeList(); |
+#endif |
+ |
#if ENABLE(GC_PROFILE_HEAP) |
struct SnapshotInfo { |
ThreadState* state; |