Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index d09d07d074c8e4c61dbd6be57547794a53fab3d4..10ff89c278e198baee5c9e35bc8e8298bb8066d6 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -2293,16 +2293,20 @@ TEST(TestSizeOfObjectsVsHeapIteratorPrecision) { |
// on the heap. |
if (size_of_objects_1 > size_of_objects_2) { |
intptr_t delta = size_of_objects_1 - size_of_objects_2; |
- PrintF("Heap::SizeOfObjects: %" V8_PTR_PREFIX "d, " |
- "Iterator: %" V8_PTR_PREFIX "d, " |
- "delta: %" V8_PTR_PREFIX "d\n", |
+ PrintF("Heap::SizeOfObjects: %" V8PRIdPTR |
+ ", " |
+ "Iterator: %" V8PRIdPTR |
+ ", " |
+ "delta: %" V8PRIdPTR "\n", |
size_of_objects_1, size_of_objects_2, delta); |
CHECK_GT(size_of_objects_1 / 20, delta); |
} else { |
intptr_t delta = size_of_objects_2 - size_of_objects_1; |
- PrintF("Heap::SizeOfObjects: %" V8_PTR_PREFIX "d, " |
- "Iterator: %" V8_PTR_PREFIX "d, " |
- "delta: %" V8_PTR_PREFIX "d\n", |
+ PrintF("Heap::SizeOfObjects: %" V8PRIdPTR |
+ ", " |
+ "Iterator: %" V8PRIdPTR |
+ ", " |
+ "delta: %" V8PRIdPTR "\n", |
size_of_objects_1, size_of_objects_2, delta); |
CHECK_GT(size_of_objects_2 / 20, delta); |
} |