Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 54ae715d0a40aa8486765c2cb104f26b76866ba3..f92ab17499022b92bceb1f51e5760c32a5bfad08 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3782,8 +3782,7 @@ void LCodeGen::EmitIntegerMathAbs(LMathAbs* instr) { |
__ test(input_reg, Operand(input_reg)); |
Label is_positive; |
__ j(not_sign, &is_positive); |
- __ neg(input_reg); |
- __ test(input_reg, Operand(input_reg)); |
+ __ neg(input_reg); // Sets flags. |
DeoptimizeIf(negative, instr->environment()); |
__ bind(&is_positive); |
} |