Commit 5309a79e authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

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
parent 62f7cd85
......@@ -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);
......
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