Reviewers: Vyacheslav Egorov,
Message:
Small change to make win64 builder work
Description:
Changing byte_size from size_t to int in heap-inl.h (making win64 build
work)
Please review this at http://codereview.chromium.org/1619017/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/heap-inl.h
M src/heap.h
Index: src/heap-inl.h
===================================================================
--- src/heap-inl.h (revision 4405)
+++ src/heap-inl.h (working copy)
@@ -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;
Index: src/heap.h
===================================================================
--- src/heap.h (revision 4405)
+++ src/heap.h (working copy)
@@ -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.