Index: runtime/vm/disassembler_mips.cc |
=================================================================== |
--- runtime/vm/disassembler_mips.cc (revision 20729) |
+++ 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; |
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; |