Reviewers: Valoo,
Description:
Fix compilation on 64-bit Windows (a third try)
Please review this at http://codereview.chromium.org/3295014/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/spaces.cc
Index: src/spaces.cc
===================================================================
--- src/spaces.cc (revision 5406)
+++ src/spaces.cc (working copy)
@@ -2700,12 +2700,10 @@
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;
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev