Revision: 4415
Author: [email protected]
Date: Wed Apr 14 04:30:34 2010
Log: Changing byte_size from size_t to int in heap-inl.h (making win64 build work)
Review URL: http://codereview.chromium.org/1619017
http://code.google.com/p/v8/source/detail?r=4415

Modified:
 /branches/bleeding_edge/src/heap-inl.h
 /branches/bleeding_edge/src/heap.h

=======================================
--- /branches/bleeding_edge/src/heap-inl.h      Wed Apr 14 00:26:20 2010
+++ /branches/bleeding_edge/src/heap-inl.h      Wed Apr 14 04:30:34 2010
@@ -240,8 +240,8 @@
 }


-void Heap::MoveBlock(Object** dst, Object** src, size_t byte_size) {
-  ASSERT(IsAligned<size_t>(byte_size, kPointerSize));
+void Heap::MoveBlock(Object** dst, Object** src, int byte_size) {
+  ASSERT(IsAligned(byte_size, kPointerSize));

   int size_in_words = byte_size / kPointerSize;

=======================================
--- /branches/bleeding_edge/src/heap.h  Wed Apr 14 00:26:20 2010
+++ /branches/bleeding_edge/src/heap.h  Wed Apr 14 04:30:34 2010
@@ -955,7 +955,7 @@

// Optimized version of memmove for blocks with pointer size aligned sizes and
   // pointer size aligned addresses.
- static inline void MoveBlock(Object** dst, Object** src, size_t byte_size);
+  static inline void MoveBlock(Object** dst, Object** src, int byte_size);

// Check new space expansion criteria and expand semispaces if it was hit.
   static void CheckNewSpaceExpansionCriteria();

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

To unsubscribe, reply using "remove me" as the subject.

Reply via email to