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

TBR=pmehta@chromium.org
Review URL: http://codereview.chromium.org/3290009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5406 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
sgjesse@chromium.org 2010-09-03 12:31:43 +00:00
parent 62f7cd8500
commit 5309a79e12

View File

@ -656,8 +656,8 @@ void MemoryAllocator::DeleteChunk(int chunk_id) {
} else {
LOG(DeleteEvent("PagedChunk", c.address()));
ObjectSpace space = static_cast<ObjectSpace>(1 << c.owner()->identity());
int size = c.size();
FreeRawMemory(c.address(), c.size(), c.executable());
size_t size = c.size();
FreeRawMemory(c.address(), size, c.executable());
PerformAllocationCallback(space, kAllocationActionFree, size);
}
c.init(NULL, 0, NULL);