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

Fix compilation on 64-bit Windows

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5404 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d3e45730
...@@ -395,7 +395,7 @@ void MemoryAllocator::FreeRawMemory(void* mem, ...@@ -395,7 +395,7 @@ void MemoryAllocator::FreeRawMemory(void* mem,
void MemoryAllocator::PerformAllocationCallback(ObjectSpace space, void MemoryAllocator::PerformAllocationCallback(ObjectSpace space,
AllocationAction action, AllocationAction action,
int size) { size_t size) {
for (int i = 0; i < memory_allocation_callbacks_.length(); ++i) { for (int i = 0; i < memory_allocation_callbacks_.length(); ++i) {
MemoryAllocationCallbackRegistration registration = MemoryAllocationCallbackRegistration registration =
memory_allocation_callbacks_[i]; memory_allocation_callbacks_[i];
......
...@@ -569,7 +569,7 @@ class MemoryAllocator : public AllStatic { ...@@ -569,7 +569,7 @@ class MemoryAllocator : public AllStatic {
Executability executable); Executability executable);
static void PerformAllocationCallback(ObjectSpace space, static void PerformAllocationCallback(ObjectSpace space,
AllocationAction action, AllocationAction action,
int size); size_t size);
static void AddMemoryAllocationCallback(MemoryAllocationCallback callback, static void AddMemoryAllocationCallback(MemoryAllocationCallback callback,
ObjectSpace space, ObjectSpace space,
......
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