From 2bcb4a496b7aa00d996df3a070524f7568fb35a1 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Thu, 8 Nov 2012 10:39:18 -0800 Subject: Add "kind" argument to Get/SetVReg. In order to determine where a register is promoted its necessary to know the kind of use of the register. Extend notion of precise-ness to numeric verifier register types. Dump verifier output in oatdump. Dump vregs with their location or constant value. Introduce indenting ostream utility. Change-Id: Ia3d29497877976bc24465484743bca08236e1768 --- src/disassembler_arm.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/disassembler_arm.cc') diff --git a/src/disassembler_arm.cc b/src/disassembler_arm.cc index d047f0e726..15480b9dd9 100644 --- a/src/disassembler_arm.cc +++ b/src/disassembler_arm.cc @@ -275,7 +275,7 @@ void DisassemblerArm::DumpArm(std::ostream& os, const uint8_t* instr_ptr) { opcode += kConditionCodeNames[cond]; opcode += suffixes; // TODO: a more complete ARM disassembler could generate wider opcodes. - os << StringPrintf("\t\t\t%p: %08x\t%-7s ", instr_ptr, instruction, opcode.c_str()) << args.str() << '\n'; + os << StringPrintf("%p: %08x\t%-7s ", instr_ptr, instruction, opcode.c_str()) << args.str() << '\n'; } size_t DisassemblerArm::DumpThumb32(std::ostream& os, const uint8_t* instr_ptr) { @@ -854,7 +854,7 @@ size_t DisassemblerArm::DumpThumb32(std::ostream& os, const uint8_t* instr_ptr) it_conditions_.pop_back(); } - os << StringPrintf("\t\t\t%p: %08x\t%-7s ", instr_ptr, instr, opcode.str().c_str()) << args.str() << '\n'; + os << StringPrintf("%p: %08x\t%-7s ", instr_ptr, instr, opcode.str().c_str()) << args.str() << '\n'; return 4; } @@ -1157,7 +1157,7 @@ size_t DisassemblerArm::DumpThumb16(std::ostream& os, const uint8_t* instr_ptr) it_conditions_.pop_back(); } - os << StringPrintf("\t\t\t%p: %04x \t%-7s ", instr_ptr, instr, opcode.str().c_str()) << args.str() << '\n'; + os << StringPrintf("%p: %04x \t%-7s ", instr_ptr, instr, opcode.str().c_str()) << args.str() << '\n'; } return 2; } -- cgit v1.2.3-59-g8ed1b