Reviewers: Valoo,
Description:
Fix compilation on 64-bit Windows
[email protected]
Please review this at http://codereview.chromium.org/3333015/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/spaces.h
M src/spaces.cc
Index: src/spaces.cc
===================================================================
--- src/spaces.cc (revision 5403)
+++ src/spaces.cc (working copy)
@@ -395,7 +395,7 @@
void MemoryAllocator::PerformAllocationCallback(ObjectSpace space,
AllocationAction action,
- int size) {
+ size_t size) {
for (int i = 0; i < memory_allocation_callbacks_.length(); ++i) {
MemoryAllocationCallbackRegistration registration =
memory_allocation_callbacks_[i];
Index: src/spaces.h
===================================================================
--- src/spaces.h (revision 5403)
+++ src/spaces.h (working copy)
@@ -569,7 +569,7 @@
Executability executable);
static void PerformAllocationCallback(ObjectSpace space,
AllocationAction action,
- int size);
+ size_t size);
static void AddMemoryAllocationCallback(MemoryAllocationCallback
callback,
ObjectSpace space,
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev