Changeset 53572 in webkit for trunk/JavaScriptCore/runtime/Collector.cpp
- Timestamp:
- Jan 20, 2010, 3:30:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Collector.cpp
r53460 r53572 338 338 339 339 clearMarkBits(); 340 markProtectedObjects(m_globalData->markStack); 340 ProtectCountSet::iterator protectedValuesEnd = protectedValuesCopy.end(); 341 for (ProtectCountSet::iterator it = protectedValuesCopy.begin(); it != protectedValuesEnd; ++it) 342 markCell(it->first); 341 343 342 344 m_heap.nextCell = 0; … … 349 351 ASSERT(!protectedObjectCount()); 350 352 351 ProtectCountSet::iteratorprotectedValuesEnd = protectedValuesCopy.end();352 for (ProtectCountSet::iterator protectedValuesIt = protectedValuesCopy.begin(); protectedValuesIt != protectedValuesEnd; ++protectedValuesIt)353 protectedValuesIt->first->~JSCell();353 protectedValuesEnd = protectedValuesCopy.end(); 354 for (ProtectCountSet::iterator it = protectedValuesCopy.begin(); it != protectedValuesEnd; ++it) 355 it->first->~JSCell(); 354 356 355 357 for (size_t block = 0; block < m_heap.usedBlocks; ++block)
Note:
See TracChangeset
for help on using the changeset viewer.