Commit 03314650 authored by slewis@apple.com's avatar slewis@apple.com
Browse files

Fix Tiger build.

* wtf/FastMalloc.cpp:
(WTF::TCMalloc_PageHeap::Carve):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8c3de606
2010-04-27 Stephanie Lewis <slewis@apple.com>
Fix Tiger build.
* wtf/FastMalloc.cpp:
(WTF::TCMalloc_PageHeap::Carve):
2010-04-26 Stephanie Lewis <slewis@apple.com>
 
Reviewed by Geoff Garen.
......
......@@ -1690,7 +1690,9 @@ inline void TCMalloc_PageHeap::Carve(Span* span, Length n, bool released) {
ASSERT(span->decommitted);
TCMalloc_SystemCommit(reinterpret_cast<void*>(span->start << kPageShift), static_cast<size_t>(span->length << kPageShift));
span->decommitted = false;
#if USE_BACKGROUND_THREAD_TO_SCAVENGE_MEMORY
free_committed_pages_ += span->length;
#endif
}
const int extra = static_cast<int>(span->length - n);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment