Revision: 12509
Author:   [email protected]
Date:     Fri Sep 14 04:48:31 2012
Log:      Fix compile errors on Win64.
Review URL: https://chromiumcodereview.appspot.com/10913273
http://code.google.com/p/v8/source/detail?r=12509

Modified:
 /branches/bleeding_edge/src/heap.cc
 /branches/bleeding_edge/src/heap.h
 /branches/bleeding_edge/src/serialize.h

=======================================
--- /branches/bleeding_edge/src/heap.cc Fri Sep 14 04:16:56 2012
+++ /branches/bleeding_edge/src/heap.cc Fri Sep 14 04:48:31 2012
@@ -680,7 +680,7 @@


 void Heap::ReserveSpace(
-    intptr_t *sizes,
+    int *sizes,
     Address *locations_out) {
   bool gc_performed = true;
   int counter = 0;
=======================================
--- /branches/bleeding_edge/src/heap.h  Fri Sep 14 04:16:56 2012
+++ /branches/bleeding_edge/src/heap.h  Fri Sep 14 04:48:31 2012
@@ -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.
=======================================
--- /branches/bleeding_edge/src/serialize.h     Fri Sep 14 04:16:56 2012
+++ /branches/bleeding_edge/src/serialize.h     Fri Sep 14 04:48:31 2012
@@ -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