Changeset 77151 in webkit for trunk/Source/JavaScriptCore/runtime/ConservativeSet.cpp
- Timestamp:
- Jan 31, 2011, 12:07:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/ConservativeSet.cpp
r77113 r77151 37 37 { 38 38 size_t newCapacity = m_capacity == inlineCapacity ? nonInlineCapacity : m_capacity * 2; 39 JSCell** newSet = static_cast<JSCell**>(OSAllocator::reserveAndCommit(newCapacity * sizeof(JSCell*)));39 DeprecatedPtr<JSCell>* newSet = static_cast<DeprecatedPtr<JSCell>*>(OSAllocator::reserveAndCommit(newCapacity * sizeof(JSCell*))); 40 40 memcpy(newSet, m_set, m_size * sizeof(JSCell*)); 41 41 if (m_set != m_inlineSet)
Note:
See TracChangeset
for help on using the changeset viewer.