| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index 92d94d676ccd3b5c31674791de360be60665f2e4..bc68babff4b42fb4899d394a0081592c53ce80d7 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -3104,7 +3104,8 @@ bool MarkCompactCollector::Evacuator::EvacuateSinglePage(Page* p,
|
| PrintIsolate(heap()->isolate(),
|
| "evacuation[%p]: page=%p new_space=%d age_mark_tag=%c "
|
| "page_evacuation=%d executable=%d live_bytes=%d time=%f\n",
|
| - this, p, p->InNewSpace(), age_mark_tag,
|
| + static_cast<void*>(this), static_cast<void*>(p),
|
| + p->InNewSpace(), age_mark_tag,
|
| p->IsFlagSet(MemoryChunk::PAGE_NEW_OLD_PROMOTION),
|
| p->IsFlagSet(MemoryChunk::IS_EXECUTABLE), saved_live_bytes,
|
| evacuation_time);
|
| @@ -3850,7 +3851,8 @@ void MarkCompactCollector::StartSweepSpace(PagedSpace* space) {
|
| if (p->LiveBytes() == 0) {
|
| if (unused_page_present) {
|
| if (FLAG_gc_verbose) {
|
| - PrintIsolate(isolate(), "sweeping: released page: %p", p);
|
| + PrintIsolate(isolate(), "sweeping: released page: %p",
|
| + static_cast<void*>(p));
|
| }
|
| space->ReleasePage(p);
|
| continue;
|
|
|