| Index: Source/platform/heap/HeapTest.cpp
|
| diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp
|
| index f9e68838476560d751bd5429fca06432597186ee..2b7c7bf243e5e9e46495205c16c421f7360469f8 100644
|
| --- a/Source/platform/heap/HeapTest.cpp
|
| +++ b/Source/platform/heap/HeapTest.cpp
|
| @@ -77,11 +77,13 @@ private:
|
| };
|
| static_assert(WTF::NeedsTracing<IntWrapper>::value, "NeedsTracing macro failed to recognize trace method.");
|
|
|
| +#if !ENABLE(GC_PROFILING)
|
| struct SameSizeAsPersistent {
|
| void* m_pointer[4];
|
| };
|
|
|
| static_assert(sizeof(Persistent<IntWrapper>) <= sizeof(SameSizeAsPersistent), "Persistent handle should stay small");
|
| +#endif
|
|
|
| class ThreadMarker {
|
| public:
|
| @@ -299,9 +301,6 @@ public:
|
| virtual bool weakTableRegistered(const void*) override { return false; }
|
| #endif
|
| virtual void registerWeakCellWithCallback(void**, WeakCallback) override { }
|
| -#if ENABLE(GC_PROFILING)
|
| - virtual void recordObjectGraphEdge(const void*) override { }
|
| -#endif
|
| virtual bool ensureMarked(const void* objectPointer) override
|
| {
|
| if (!objectPointer || HeapObjectHeader::fromPayload(objectPointer)->isMarked())
|
|
|