| Index: runtime/vm/disassembler.cc
|
| diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc
|
| index 80e1ff6e63adb8166aaa823e52350696cd7325bf..1a924508b975ab8dc37ba850aeac07a8712bf6df 100644
|
| --- a/runtime/vm/disassembler.cc
|
| +++ b/runtime/vm/disassembler.cc
|
| @@ -46,12 +46,11 @@ void DisassembleToJSONStream::ConsumeInstruction(char* hex_buffer,
|
| char* human_buffer,
|
| intptr_t human_size,
|
| uword pc) {
|
| - uint8_t* pc_ptr = reinterpret_cast<uint8_t*>(pc);
|
| // Instructions are represented as three consecutive values in a JSON array.
|
| // All three are strings. The first is the address of the instruction,
|
| // the second is the hex string of the code, and the final is a human
|
| // readable string.
|
| - jsarr_.AddValueF("%p", pc_ptr);
|
| + jsarr_.AddValueF("%" Pp "", pc);
|
| jsarr_.AddValue(hex_buffer);
|
| jsarr_.AddValue(human_buffer);
|
| }
|
|
|