From 477b41c89b32a9e52ee02c38a970470881af418f Mon Sep 17 00:00:00 2001 From: "mstarzinger@chromium.org" Date: Fri, 2 Aug 2013 09:35:44 +0000 Subject: [PATCH] Fix Mac build after r16022. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/21786002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16023 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/d8.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d8.cc b/src/d8.cc index d6ecdc9f75..e66a2ece60 100644 --- a/src/d8.cc +++ b/src/d8.cc @@ -1596,7 +1596,7 @@ static void DumpHeapConstants(i::Isolate* isolate) { ROOT_LIST(ROOT_LIST_CASE) STRUCT_LIST(STRUCT_LIST_CASE) if (n == NULL) continue; - printf(" 0x%05" V8_PTR_PREFIX "x: (%d, \"%s\"),\n", p, t, n); + printf(" 0x%05" V8PRIxPTR ": (%d, \"%s\"),\n", p, t, n); } printf("}\n"); #undef STRUCT_LIST_CASE @@ -1616,7 +1616,7 @@ static void DumpHeapConstants(i::Isolate* isolate) { intptr_t p = reinterpret_cast(o) & 0xfffff; ROOT_LIST(ROOT_LIST_CASE) if (n == NULL) continue; - printf(" (\"%s\", 0x%05" V8_PTR_PREFIX "x): \"%s\",\n", sname, p, n); + printf(" (\"%s\", 0x%05" V8PRIxPTR "): \"%s\",\n", sname, p, n); } } printf("}\n");