Index: runtime/platform/globals.h |
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h |
index cc6612ea8cd90d4b0d23d28f51316ff726fb6881..0d493100639328a25337fa200339be9289fefad9 100644 |
--- a/runtime/platform/globals.h |
+++ b/runtime/platform/globals.h |
@@ -306,6 +306,13 @@ typedef simd128_value_t fpu_register_t; |
#define Pu64 PRIu64 |
#define Px64 PRIx64 |
+// Zero-padded pointer |
+#if defined(ARCH_IS_32_BIT) |
+#define Pp "08" PRIxPTR |
+#else |
+#define Pp "016" PRIxPTR |
+#endif |
+ |
// Suffixes for 64-bit integer literals. |
#ifdef _MSC_VER |