Fix compilation failure introduced by r10601.
Cast intptr_t to int in PrintFs. TBR=erik.corry@gmail.com Review URL: https://chromiumcodereview.appspot.com/9325028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10602 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
a7b0481b6d
commit
405b875fec
@ -543,7 +543,7 @@ void MarkCompactCollector::CollectEvacuationCandidates(PagedSpace* space) {
|
||||
if (FLAG_trace_fragmentation) {
|
||||
PrintF("Estimated over reserved memory: %.1f MB (setting threshold %d)\n",
|
||||
static_cast<double>(over_reserved) / MB,
|
||||
kFreenessThreshold);
|
||||
static_cast<int>(kFreenessThreshold));
|
||||
}
|
||||
}
|
||||
|
||||
@ -596,7 +596,7 @@ void MarkCompactCollector::CollectEvacuationCandidates(PagedSpace* space) {
|
||||
PrintF("%p [%s]: %d (%.2f%%) free %s\n",
|
||||
reinterpret_cast<void*>(p),
|
||||
AllocationSpaceName(space->identity()),
|
||||
free_bytes,
|
||||
static_cast<int>(free_bytes),
|
||||
static_cast<double>(free_bytes * 100) / Page::kObjectAreaSize,
|
||||
(fragmentation > 0) ? "[fragmented]" : "");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user