Changeset 202992 in webkit for trunk/Source/JavaScriptCore/interpreter/JSStack.cpp
- Timestamp:
- Jul 8, 2016, 10:54:38 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/JSStack.cpp
r202862 r202992 63 63 64 64 m_reservation = PageReservation::reserve(WTF::roundUpToMultipleOf(commitSize(), capacity), OSAllocator::JSVMStackPages); 65 set JSEmulatedStackLimit(highAddress());65 setCLoopStackLimit(highAddress()); 66 66 m_commitTop = highAddress(); 67 67 … … 88 88 // just update the end pointer and return. 89 89 if (newTopOfStackWithReservedZone >= m_commitTop) { 90 set JSEmulatedStackLimit(newTopOfStack);90 setCLoopStackLimit(newTopOfStack); 91 91 return true; 92 92 } … … 105 105 addToCommittedByteCount(delta); 106 106 m_commitTop = newCommitTop; 107 set JSEmulatedStackLimit(newTopOfStack);107 setCLoopStackLimit(newTopOfStack); 108 108 return true; 109 109 } … … 157 157 { 158 158 ASSERT(wtfThreadData().stack().isGrowingDownward()); 159 return reinterpret_cast<Register*>(m_vm. jsCPUStackLimit());159 return reinterpret_cast<Register*>(m_vm.osStackLimitWithReserve()); 160 160 } 161 161
Note:
See TracChangeset
for help on using the changeset viewer.