diff options
Diffstat (limited to 'JavaScriptCore/runtime/GCHandle.h')
| -rw-r--r-- | JavaScriptCore/runtime/GCHandle.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/JavaScriptCore/runtime/GCHandle.h b/JavaScriptCore/runtime/GCHandle.h index 38a7be9..8818f79 100644 --- a/JavaScriptCore/runtime/GCHandle.h +++ b/JavaScriptCore/runtime/GCHandle.h @@ -26,7 +26,7 @@ #ifndef GCHandle_h #define GCHandle_h -#include "AlignedMemoryAllocator.h" +#include <wtf/Assertions.h> namespace JSC { @@ -91,8 +91,6 @@ public: static const size_t poolMask = ~(poolSize - 1); static const size_t numPoolEntries = (poolSize - sizeof(Heap*) - 3 * sizeof(unsigned)) / sizeof(WeakGCHandle); - typedef AlignedMemoryAllocator<WeakGCHandlePool::poolSize> Allocator; - WeakGCHandlePool(); WeakGCHandle* allocate(JSCell* cell); @@ -106,8 +104,6 @@ public: void update(); - void* operator new(size_t, AlignedMemory<WeakGCHandlePool::poolSize>&); - private: Heap* m_heap; unsigned m_entriesSize; |
