Index: src/objects-debug.cc |
=================================================================== |
--- src/objects-debug.cc (revision 5544) |
+++ src/objects-debug.cc (working copy) |
@@ -89,7 +89,7 @@ |
void HeapObject::PrintHeader(const char* id) { |
- PrintF("%p: [%s]\n", reinterpret_cast<void*>(this), id); |
+ PrintF("%p: [%s]\n", this, id); |
} |
@@ -522,9 +522,9 @@ |
void JSObject::JSObjectPrint() { |
- PrintF("%p: [JSObject]\n", reinterpret_cast<void*>(this)); |
- PrintF(" - map = %p\n", reinterpret_cast<void*>(map())); |
- PrintF(" - prototype = %p\n", reinterpret_cast<void*>(GetPrototype())); |
+ PrintF("%p: [JSObject]\n", this); |
+ PrintF(" - map = %p\n", map()); |
+ PrintF(" - prototype = %p\n", GetPrototype()); |
PrintF(" {\n"); |
PrintProperties(); |
PrintElements(); |
@@ -744,7 +744,7 @@ |
void JSFunction::JSFunctionPrint() { |
HeapObject::PrintHeader("Function"); |
- PrintF(" - map = 0x%p\n", reinterpret_cast<void*>(map())); |
+ PrintF(" - map = 0x%p\n", map()); |
PrintF(" - initial_map = "); |
if (has_initial_map()) { |
initial_map()->ShortPrint(); |
@@ -1224,9 +1224,9 @@ |
void BreakPointInfo::BreakPointInfoPrint() { |
HeapObject::PrintHeader("BreakPointInfo"); |
- PrintF("\n - code_position: %d", code_position()->value()); |
- PrintF("\n - source_position: %d", source_position()->value()); |
- PrintF("\n - statement_position: %d", statement_position()->value()); |
+ PrintF("\n - code_position: %d", code_position()); |
+ PrintF("\n - source_position: %d", source_position()); |
+ PrintF("\n - statement_position: %d", statement_position()); |
PrintF("\n - break_point_objects: "); |
break_point_objects()->ShortPrint(); |
} |