Commit a6166065 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Fix compilation on 64-bit Windows (a third try)

Review URL: http://codereview.chromium.org/3295014

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5408 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5309a79e
......@@ -2700,12 +2700,10 @@ void LargeObjectSpace::TearDown() {
page->IsPageExecutable() ? EXECUTABLE : NOT_EXECUTABLE;
ObjectSpace space = kObjectSpaceLoSpace;
if (executable == EXECUTABLE) space = kObjectSpaceCodeSpace;
int size = chunk->size();
MemoryAllocator::FreeRawMemory(chunk->address(),
chunk->size(),
executable);
MemoryAllocator::PerformAllocationCallback(space, kAllocationActionFree,
size);
size_t size = chunk->size();
MemoryAllocator::FreeRawMemory(chunk->address(), size, executable);
MemoryAllocator::PerformAllocationCallback(
space, kAllocationActionFree, size);
}
size_ = 0;
......
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