Revision: 13553
Author:   hpa...@chromium.org
Date:     Wed Jan 30 04:47:41 2013
Log:      Fixes Windows build bots.

BUG=

Review URL: https://codereview.chromium.org/12094057
http://code.google.com/p/v8/source/detail?r=13553

Modified:
 /branches/bleeding_edge/src/mark-compact.cc

=======================================
--- /branches/bleeding_edge/src/mark-compact.cc Wed Jan 30 04:19:32 2013
+++ /branches/bleeding_edge/src/mark-compact.cc Wed Jan 30 04:47:41 2013
@@ -3588,7 +3588,8 @@
   }
   size_t size = block_address - p->area_start();
   if (cell_index == last_cell_index) {
-    freed_bytes += Free<mode>(space, free_list, p->area_start(), size);
+    freed_bytes += Free<mode>(space, free_list, p->area_start(),
+                              static_cast<int>(size));
     ASSERT_EQ(0, p->LiveBytes());
     return freed_bytes;
   }
@@ -3597,7 +3598,8 @@
   Address free_end = StartOfLiveObject(block_address, cells[cell_index]);
   // Free the first free space.
   size = free_end - p->area_start();
-  freed_bytes += Free<mode>(space, free_list, p->area_start(), size);
+  freed_bytes += Free<mode>(space, free_list, p->area_start(),
+                            static_cast<int>(size));

// The start of the current free area is represented in undigested form by // the address of the last 32-word section that contained a live object and

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to