Index: src/disassembler.cc |
diff --git a/src/disassembler.cc b/src/disassembler.cc |
index 9ec2f42377ba7de4b2f090d5855811ce1641ac12..68c1ca1a7f3d11a02bfe94b6b5f8e40c4c6ee2a2 100644 |
--- a/src/disassembler.cc |
+++ b/src/disassembler.cc |
@@ -43,7 +43,7 @@ const char* V8NameConverter::NameOfAddress(byte* pc) const { |
int offs = static_cast<int>(pc - code_->instruction_start()); |
// print as code offset, if it seems reasonable |
if (0 <= offs && offs < code_->instruction_size()) { |
- SNPrintF(v8_buffer_, "%d (%p)", offs, pc); |
+ SNPrintF(v8_buffer_, "%x (%p)", offs, pc); |
return v8_buffer_.start(); |
} |
} |
@@ -146,7 +146,7 @@ static int DecodeIt(Isolate* isolate, std::ostream* os, |
} |
// Instruction address and instruction offset. |
- out.AddFormatted("%p %4d ", prev_pc, prev_pc - begin); |
+ out.AddFormatted("%p %4x ", prev_pc, prev_pc - begin); |
// Instruction. |
out.AddFormatted("%s", decode_buffer.start()); |