Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 19b2eb66992874cfa24e6a5fb9e545d1a68178f6..53f99784cb301186bb487dc532958ce6feaac5f7 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -257,8 +257,9 @@ void EvacuationVerifier::VerifyEvacuation(PagedSpace* space) { |
for (Page* p : *space) { |
if (p->IsEvacuationCandidate()) continue; |
if (p->Contains(space->top())) |
- heap_->CreateFillerObjectAt(space->top(), space->limit() - space->top(), |
- ClearRecordedSlots::kNo); |
+ heap_->CreateFillerObjectAt( |
+ space->top(), static_cast<int>(space->limit() - space->top()), |
+ ClearRecordedSlots::kNo); |
VerifyEvacuationOnPage(p->area_start(), p->area_end()); |
} |