Changeset 115092 in webkit for trunk/Source/JavaScriptCore/heap/WeakSet.cpp
- Timestamp:
- Apr 24, 2012, 12:11:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/heap/WeakSet.cpp
r114698 r115092 74 74 } 75 75 76 void WeakSet::shrink() 77 { 78 WeakBlock* next; 79 for (WeakBlock* block = static_cast<WeakBlock*>(m_blocks.head()); block; block = next) { 80 next = static_cast<WeakBlock*>(block->next()); 81 82 if (!block->sweepResult().isNull() && block->sweepResult().blockIsFree) 83 removeAllocator(block); 84 } 85 } 86 76 87 void WeakSet::resetAllocator() 77 88 {
Note:
See TracChangeset
for help on using the changeset viewer.