Changeset 65311 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- Aug 13, 2010, 3:14:36 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/RegisterFile.h
r64782 r65311 167 167 size_t committedSize = roundUpAllocationSize(maxGlobals * sizeof(Register), commitSize); 168 168 checkAllocatedOkay(m_reservation.commit(base, committedSize)); 169 m_commitEnd = reinterpret_cast <Register*>(reinterpret_cast<char*>(base) + committedSize);169 m_commitEnd = reinterpret_cast_ptr<Register*>(reinterpret_cast<char*>(base) + committedSize); 170 170 m_start = static_cast<Register*>(base) + maxGlobals; 171 171 m_end = m_start; … … 194 194 size_t size = roundUpAllocationSize(reinterpret_cast<char*>(newEnd) - reinterpret_cast<char*>(m_commitEnd), commitSize); 195 195 checkAllocatedOkay(m_reservation.commit(m_commitEnd, size)); 196 m_commitEnd = reinterpret_cast <Register*>(reinterpret_cast<char*>(m_commitEnd) + size);196 m_commitEnd = reinterpret_cast_ptr<Register*>(reinterpret_cast<char*>(m_commitEnd) + size); 197 197 } 198 198
Note:
See TracChangeset
for help on using the changeset viewer.