Changeset 73321 in webkit for trunk/JavaScriptCore/jit/ExecutableAllocator.h
- Timestamp:
- Dec 3, 2010, 6:05:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/ExecutableAllocator.h
r69135 r73321 138 138 } 139 139 140 void returnLastBytes(size_t count) 141 { 142 m_freePtr -= count; 140 void tryShrink(void* allocation, size_t oldSize, size_t newSize) 141 { 142 if (static_cast<char*>(allocation) + oldSize != m_freePtr) 143 return; 144 m_freePtr = static_cast<char*>(allocation) + roundUpAllocationSize(newSize, sizeof(void*)); 143 145 } 144 146
Note:
See TracChangeset
for help on using the changeset viewer.