Reviewers: Michael Starzinger,

Description:
Fixes Windows build bots.


BUG=


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

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

Affected files:
  M src/mark-compact.cc


Index: src/mark-compact.cc
diff --git a/src/mark-compact.cc b/src/mark-compact.cc
index 1caa0b6af974f2d69cb59e4bb6eec1892ce18d06..8b176407787cbb69193dfa6e11183f91c225ad48 100644
--- a/src/mark-compact.cc
+++ b/src/mark-compact.cc
@@ -3588,7 +3588,8 @@ intptr_t MarkCompactCollector::SweepConservatively(PagedSpace* space,
   }
   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;
   }
@@ -3596,8 +3597,8 @@ intptr_t MarkCompactCollector::SweepConservatively(PagedSpace* space,
   // first live object.
   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);
+  size = static_cast<int>(free_end - p->area_start());
+  freed_bytes += Free<mode>(space, free_list, p->area_start(),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
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to