From 117cedbbf21d75a20c737d96a1df993c1904fdc2 Mon Sep 17 00:00:00 2001 From: "hpayer@chromium.org" Date: Wed, 30 Jan 2013 12:47:41 +0000 Subject: [PATCH] Fixes Windows build bots. BUG= Review URL: https://codereview.chromium.org/12094057 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13553 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/mark-compact.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mark-compact.cc b/src/mark-compact.cc index 1caa0b6..4d9d7b4 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(space, free_list, p->area_start(), size); + freed_bytes += Free(space, free_list, p->area_start(), + static_cast(size)); ASSERT_EQ(0, p->LiveBytes()); return freed_bytes; } @@ -3597,7 +3598,8 @@ intptr_t MarkCompactCollector::SweepConservatively(PagedSpace* space, Address free_end = StartOfLiveObject(block_address, cells[cell_index]); // Free the first free space. size = free_end - p->area_start(); - freed_bytes += Free(space, free_list, p->area_start(), size); + freed_bytes += Free(space, free_list, p->area_start(), + static_cast(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 -- 2.7.4