| Index: src/arm/simulator-arm.cc
|
| ===================================================================
|
| --- src/arm/simulator-arm.cc (revision 5544)
|
| +++ src/arm/simulator-arm.cc (working copy)
|
| @@ -294,7 +294,7 @@
|
| } else if (GetVFPSingleValue(arg1, &svalue)) {
|
| PrintF("%s: %f \n", arg1, svalue);
|
| } else if (GetVFPDoubleValue(arg1, &dvalue)) {
|
| - PrintF("%s: %f \n", arg1, dvalue);
|
| + PrintF("%s: %lf \n", arg1, dvalue);
|
| } else {
|
| PrintF("%s unrecognized\n", arg1);
|
| }
|
| @@ -349,8 +349,7 @@
|
| end = cur + words;
|
|
|
| while (cur < end) {
|
| - PrintF(" 0x%08x: 0x%08x %10d\n",
|
| - reinterpret_cast<intptr_t>(cur), *cur, *cur);
|
| + PrintF(" 0x%08x: 0x%08x %10d\n", cur, *cur, *cur);
|
| cur++;
|
| }
|
| } else if (strcmp(cmd, "disasm") == 0) {
|
| @@ -383,8 +382,7 @@
|
|
|
| while (cur < end) {
|
| dasm.InstructionDecode(buffer, cur);
|
| - PrintF(" 0x%08x %s\n",
|
| - reinterpret_cast<intptr_t>(cur), buffer.start());
|
| + PrintF(" 0x%08x %s\n", cur, buffer.start());
|
| cur += Instr::kInstrSize;
|
| }
|
| } else if (strcmp(cmd, "gdb") == 0) {
|
| @@ -1063,7 +1061,7 @@
|
| // Unsupported instructions use Format to print an error and stop execution.
|
| void Simulator::Format(Instr* instr, const char* format) {
|
| PrintF("Simulator found unsupported instruction:\n 0x%08x: %s\n",
|
| - reinterpret_cast<intptr_t>(instr), format);
|
| + instr, format);
|
| UNIMPLEMENTED();
|
| }
|
|
|
| @@ -2652,7 +2650,7 @@
|
| v8::internal::EmbeddedVector<char, 256> buffer;
|
| dasm.InstructionDecode(buffer,
|
| reinterpret_cast<byte*>(instr));
|
| - PrintF(" 0x%08x %s\n", reinterpret_cast<intptr_t>(instr), buffer.start());
|
| + PrintF(" 0x%08x %s\n", instr, buffer.start());
|
| }
|
| if (instr->ConditionField() == special_condition) {
|
| DecodeUnconditional(instr);
|
|
|