Reviewers: Jakob,

Description:
Fix Mac build after r16022.

[email protected]

Please review this at https://codereview.chromium.org/21786002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/d8.cc


Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index d6ecdc9f7590c5b0310c7385da3fdf7e63036f2a..e66a2ece600bb0ab54da79510cb4a7db96f75d89 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<intptr_t>(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");


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to