Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 1ba0f5006a5a7257810ab2472a4939067aa52c22..d5fed2078f3aab07bbabd3fc0207707d90b36dbf 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -2296,16 +2296,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); |
} |