Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 15a532e8d075a69df21eb5b5deb6219343a06597..7a4e2f2d03af344b27294e13720bf99cd0664d68 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -3109,7 +3109,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); |
@@ -3853,7 +3854,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; |