Reviewers: Jakob,

Description:
Fix compile errors on Win64.

Please review this at https://chromiumcodereview.appspot.com/10913273/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/heap.h
  M     src/heap.cc
  M     src/serialize.h


Index: src/heap.cc
===================================================================
--- src/heap.cc (revision 12505)
+++ src/heap.cc (working copy)
@@ -680,7 +680,7 @@


 void Heap::ReserveSpace(
-    intptr_t *sizes,
+    int *sizes,
     Address *locations_out) {
   bool gc_performed = true;
   int counter = 0;
Index: src/heap.h
===================================================================
--- src/heap.h  (revision 12505)
+++ src/heap.h  (working copy)
@@ -1332,7 +1332,7 @@

   // Support for partial snapshots.  After calling this we have a linear
   // space to write objects in each space.
-  void ReserveSpace(intptr_t *sizes, Address* addresses);
+  void ReserveSpace(int *sizes, Address* addresses);

   //
   // Support for the API.
Index: src/serialize.h
===================================================================
--- src/serialize.h     (revision 12505)
+++ src/serialize.h     (working copy)
@@ -328,7 +328,7 @@
   // Deserialize a single object and the objects reachable from it.
   void DeserializePartial(Object** root);

-  void set_reservation(int space_number, uintptr_t reservation) {
+  void set_reservation(int space_number, int reservation) {
     ASSERT(space_number >= 0);
     ASSERT(space_number <= LAST_SPACE);
     reservations_[space_number] = reservation;
@@ -380,7 +380,7 @@
   // space.  It is used to calculate the addresses of back-references.
   Address high_water_[LAST_SPACE + 1];

-  intptr_t reservations_[LAST_SPACE + 1];
+  int reservations_[LAST_SPACE + 1];
   static const intptr_t kUninitializedReservation = -1;

   ExternalReferenceDecoder* external_reference_decoder_;


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

Reply via email to