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
This commit is contained in:
parent
44caabb1cd
commit
117cedbbf2
@ -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;
|
||||
}
|
||||
@ -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<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
|
||||
|
Loading…
Reference in New Issue
Block a user