| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 9649eb99efdbe43724bc266df6cb7f8f7fdf6d40..31dd1e18c6107124fb4672f49bab85d573b30a6b 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -3625,6 +3625,7 @@ void LCodeGen::EmitIntegerMathAbs(LMathAbs* instr) {
|
| Label done;
|
| __ Branch(USE_DELAY_SLOT, &done, ge, input, Operand(zero_reg));
|
| __ mov(result, input);
|
| + __ subu(result, zero_reg, input);
|
| // Overflow if result is still negative, i.e. 0x80000000.
|
| DeoptimizeIf(lt, instr->environment(), result, Operand(zero_reg));
|
| __ bind(&done);
|
|
|