Index: runtime/vm/assembler_mips.h |
=================================================================== |
--- runtime/vm/assembler_mips.h (revision 23482) |
+++ runtime/vm/assembler_mips.h (working copy) |
@@ -803,6 +803,7 @@ |
} |
void AddImmediate(Register rd, Register rs, int32_t value) { |
+ if (value == 0) return; |
if (Utils::IsInt(kImmBits, value)) { |
addiu(rd, rs, Immediate(value)); |
} else { |