Index: runtime/vm/simulator_mips.cc |
=================================================================== |
--- runtime/vm/simulator_mips.cc (revision 20729) |
+++ runtime/vm/simulator_mips.cc (working copy) |
@@ -1030,6 +1030,13 @@ |
DoBranch(instr, rs_val >= 0, false); |
break; |
} |
+ case BGEZAL: { |
+ int32_t rs_val = get_register(instr->RsField()); |
+ // Return address is one after the delay slot. |
+ set_register(RA, pc_ + (2*Instr::kInstrSize)); |
+ DoBranch(instr, rs_val >= 0, false); |
+ break; |
+ } |
case BGEZL: { |
// Format(instr, "bgezl 'rs, 'dest"); |
int32_t rs_val = get_register(instr->RsField()); |