Changeset 113508 in webkit for trunk/Source/JavaScriptCore/heap/Strong.h
- Timestamp:
- Apr 6, 2012, 3:35:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/heap/Strong.h
r113141 r113508 29 29 #include <wtf/Assertions.h> 30 30 #include "Handle.h" 31 #include "Handle Heap.h"31 #include "HandleSet.h" 32 32 33 33 namespace JSC { … … 57 57 if (!other.slot()) 58 58 return; 59 setSlot(Handle Heap::heapFor(other.slot())->allocate());59 setSlot(HandleSet::heapFor(other.slot())->allocate()); 60 60 set(other.get()); 61 61 } … … 66 66 if (!other.slot()) 67 67 return; 68 setSlot(Handle Heap::heapFor(other.slot())->allocate());68 setSlot(HandleSet::heapFor(other.slot())->allocate()); 69 69 set(other.get()); 70 70 } … … 104 104 } 105 105 106 set(*Handle Heap::heapFor(other.slot())->globalData(), other.get());106 set(*HandleSet::heapFor(other.slot())->globalData(), other.get()); 107 107 return *this; 108 108 } … … 115 115 } 116 116 117 set(*Handle Heap::heapFor(other.slot())->globalData(), other.get());117 set(*HandleSet::heapFor(other.slot())->globalData(), other.get()); 118 118 return *this; 119 119 } … … 123 123 if (!slot()) 124 124 return; 125 Handle Heap::heapFor(slot())->deallocate(slot());125 HandleSet::heapFor(slot())->deallocate(slot()); 126 126 setSlot(0); 127 127 } … … 134 134 ASSERT(slot()); 135 135 JSValue value = HandleTypes<T>::toJSValue(externalType); 136 Handle Heap::heapFor(slot())->writeBarrier(slot(), value);136 HandleSet::heapFor(slot())->writeBarrier(slot(), value); 137 137 *slot() = value; 138 138 }
Note:
See TracChangeset
for help on using the changeset viewer.