Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 56b0da8b836c07e347af658cfb028594ea2cc705..9a89402c17c16daad2fd64a74fa83c76a9cf79be 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -4068,14 +4068,14 @@ intptr_t MarkCompactCollector::SweepConservatively(PagedSpace* space, |
int MarkCompactCollector::SweepInParallel(PagedSpace* space, |
- int required_freed_bytes) { |
+ intptr_t required_freed_bytes) { |
PageIterator it(space); |
FreeList* free_list = space == heap()->old_pointer_space() |
? free_list_old_pointer_space_.get() |
: free_list_old_data_space_.get(); |
FreeList private_free_list(space); |
- int max_freed = 0; |
- int max_freed_overall = 0; |
+ intptr_t max_freed = 0; |
+ intptr_t max_freed_overall = 0; |
while (it.has_next()) { |
Page* p = it.next(); |