Commit 7d11de0c authored by oliver@apple.com's avatar oliver@apple.com

Build fix

git-svn-id: svn://svn.chromium.org/blink/trunk@42844 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 9dbbce43
2009-04-24 Oliver Hunt <oliver@apple.com>
Reviewed by NOBODY (Build fix).
Add reinterpret_cast
* interpreter/RegisterFile.cpp:
(JSC::RegisterFile::releaseExcessCapacity):
2009-04-23 Oliver Hunt <oliver@apple.com> 2009-04-23 Oliver Hunt <oliver@apple.com>
Reviewed by Geoff Garen. Reviewed by Geoff Garen.
...@@ -51,7 +51,7 @@ void RegisterFile::releaseExcessCapacity() ...@@ -51,7 +51,7 @@ void RegisterFile::releaseExcessCapacity()
while (madvise(memoryToRelease, size, MADV_FREE) == -1 && errno == EAGAIN) { } while (madvise(memoryToRelease, size, MADV_FREE) == -1 && errno == EAGAIN) { }
#elif HAVE(VIRTUALALLOC) #elif HAVE(VIRTUALALLOC)
VirtualFree(memoryToRelease, size, MEM_DECOMMIT); VirtualFree(memoryToRelease, size, MEM_DECOMMIT);
m_commitEnd = memoryToRelease; m_commitEnd = reinterpret_cast<Register*>(memoryToRelease);
#endif #endif
} }
......
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