Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index 0382913b77d81ee0bb0aa16eadcaf56b625fbac7..69f9022f075871f40a32781410c7228ee8c7e5bd 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -2247,9 +2247,9 @@ |
intptr_t elements = info->GetElementCount(); |
intptr_t size = info->GetSizeInBytes(); |
const char* name = elements != -1 |
- ? names_->GetFormatted("%s / %" V8PRIdPTR " entries", |
- info->GetLabel(), elements) |
- : names_->GetCopy(info->GetLabel()); |
+ ? names_->GetFormatted( |
+ "%s / %" V8_PTR_PREFIX "d entries", info->GetLabel(), elements) |
+ : names_->GetCopy(info->GetLabel()); |
return snapshot_->AddEntry( |
entries_type_, |
name, |