Index: runtime/vm/disassembler_mips.cc |
=================================================================== |
--- runtime/vm/disassembler_mips.cc (revision 20565) |
+++ runtime/vm/disassembler_mips.cc (working copy) |
@@ -141,7 +141,8 @@ |
case 'd': { |
ASSERT(STRING_STARTS_WITH(format, "dest")); |
int off = instr->SImmField() << 2; |
- uword destination = reinterpret_cast<uword>(instr) + off; |
+ uword destination = |
+ reinterpret_cast<uword>(instr) + off + Instr::kInstrSize; |
regis
2013/03/29 00:23:32
Shouldn't it be + 2 * Instr::kInstrSize?
zra
2013/03/29 17:10:44
The offset is relative to the instruction after th
|
buffer_pos_ += OS::SNPrint(current_position_in_buffer(), |
remaining_size_in_buffer(), |
"%#"Px"", |
@@ -377,6 +378,10 @@ |
Format(instr, "bgez 'rs, 'dest"); |
break; |
} |
+ case BGEZAL: { |
+ Format(instr, "bgezal 'rs, 'dest"); |
+ break; |
+ } |
case BGEZL: { |
Format(instr, "bgezl 'rs, 'dest"); |
break; |