Changeset 113508 in webkit for trunk/Source/JavaScriptCore/heap/WeakSet.h
- Timestamp:
- Apr 6, 2012, 3:35:55 PM (13 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/heap/WeakSet.h
r113502 r113508 24 24 */ 25 25 26 #ifndef Weak Heap_h27 #define Weak Heap_h26 #ifndef WeakSet_h 27 #define WeakSet_h 28 28 29 29 #include "WeakBlock.h" … … 34 34 class WeakImpl; 35 35 36 class Weak Heap{36 class WeakSet { 37 37 public: 38 Weak Heap(Heap*);38 WeakSet(Heap*); 39 39 void finalizeAll(); 40 ~Weak Heap();40 ~WeakSet(); 41 41 42 42 WeakImpl* allocate(JSValue, WeakHandleOwner* = 0, void* context = 0); … … 61 61 }; 62 62 63 inline Weak Heap::WeakHeap(Heap* heap)63 inline WeakSet::WeakSet(Heap* heap) 64 64 : m_allocator(0) 65 65 , m_nextAllocator(0) … … 68 68 } 69 69 70 inline WeakImpl* Weak Heap::allocate(JSValue jsValue, WeakHandleOwner* weakHandleOwner, void* context)70 inline WeakImpl* WeakSet::allocate(JSValue jsValue, WeakHandleOwner* weakHandleOwner, void* context) 71 71 { 72 72 WeakBlock::FreeCell* allocator = m_allocator; … … 79 79 } 80 80 81 inline void Weak Heap::deallocate(WeakImpl* weakImpl)81 inline void WeakSet::deallocate(WeakImpl* weakImpl) 82 82 { 83 83 WeakBlock::blockFor(weakImpl)->deallocate(weakImpl); … … 86 86 } // namespace JSC 87 87 88 #endif // Weak Heap_h88 #endif // WeakSet_h
Note:
See TracChangeset
for help on using the changeset viewer.