| Index: src/mips64/disasm-mips64.cc
|
| diff --git a/src/mips64/disasm-mips64.cc b/src/mips64/disasm-mips64.cc
|
| index 7b054933ebb80aa472bc1884c49e94e3f0b269bd..807cc0c0685a78f34ebf934b5cfb558a5b9a9583 100644
|
| --- a/src/mips64/disasm-mips64.cc
|
| +++ b/src/mips64/disasm-mips64.cc
|
| @@ -1938,7 +1938,7 @@ int Decoder::InstructionDecode(byte* instr_ptr) {
|
| namespace disasm {
|
|
|
| const char* NameConverter::NameOfAddress(byte* addr) const {
|
| - v8::internal::SNPrintF(tmp_buffer_, "%p", addr);
|
| + v8::internal::SNPrintF(tmp_buffer_, "%p", static_cast<void*>(addr));
|
| return tmp_buffer_.start();
|
| }
|
|
|
| @@ -2001,8 +2001,8 @@ void Disassembler::Disassemble(FILE* f, byte* begin, byte* end) {
|
| buffer[0] = '\0';
|
| byte* prev_pc = pc;
|
| pc += d.InstructionDecode(buffer, pc);
|
| - v8::internal::PrintF(f, "%p %08x %s\n",
|
| - prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start());
|
| + v8::internal::PrintF(f, "%p %08x %s\n", static_cast<void*>(prev_pc),
|
| + *reinterpret_cast<int32_t*>(prev_pc), buffer.start());
|
| }
|
| }
|
|
|
|
|