| Index: Source/platform/heap/PersistentNode.cpp
|
| diff --git a/Source/platform/heap/PersistentNode.cpp b/Source/platform/heap/PersistentNode.cpp
|
| index e5981176d5e1c8004cf903648a073a0f0fac75ae..6271f7d6ea72c36c01868d2a242d3f18b4db3406 100644
|
| --- a/Source/platform/heap/PersistentNode.cpp
|
| +++ b/Source/platform/heap/PersistentNode.cpp
|
| @@ -6,10 +6,6 @@
|
| #include "platform/heap/PersistentNode.h"
|
|
|
| #include "platform/heap/Handle.h"
|
| -
|
| -#ifndef NDEBUG
|
| -#include <stdio.h>
|
| -#endif
|
|
|
| namespace blink {
|
|
|
| @@ -35,25 +31,6 @@
|
| ASSERT(persistentCount == m_persistentCount);
|
| return persistentCount;
|
| }
|
| -
|
| -#ifndef NDEBUG
|
| -void PersistentRegion::dumpLivePersistents()
|
| -{
|
| - class Object;
|
| - using GCObject = GarbageCollected<Object>;
|
| -
|
| - fprintf(stderr, "Live Persistent(heap object, trace method):\n");
|
| - for (PersistentNodeSlots* slots = m_slots; slots; slots = slots->m_next) {
|
| - for (int i = 0; i < PersistentNodeSlots::slotCount; ++i) {
|
| - if (!slots->m_slot[i].isUnused()) {
|
| - Persistent<GCObject>* persistent = reinterpret_cast<Persistent<GCObject>*>(slots->m_slot[i].self());
|
| - ASSERT(persistent);
|
| - fprintf(stderr, "%p => (%p, %p)\n", persistent, persistent->get(), slots->m_slot[i].traceCallback());
|
| - }
|
| - }
|
| - }
|
| -}
|
| -#endif
|
|
|
| void PersistentRegion::ensurePersistentNodeSlots(void* self, TraceCallback trace)
|
| {
|
|
|