Reviewers: Valoo,

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

tbr=pme...@chromium.org

Please review this at http://codereview.chromium.org/3290009/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 5404)
+++ src/spaces.cc       (working copy)
@@ -656,8 +656,8 @@
   } 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);


--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to