Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 01671143ab62114aa5926bdf14a09e0ed20282b1..810b16e3489b380c4f2fc92a0c7a957f6ade5f2e 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -3652,7 +3652,7 @@ void LCodeGen::DoMathAbs(LMathAbs* instr) { |
FPURegister input = ToDoubleRegister(instr->value()); |
FPURegister result = ToDoubleRegister(instr->result()); |
__ abs_d(result, input); |
- } else if (r.IsInteger32()) { |
+ } else if (r.IsSmiOrInteger32()) { |
EmitIntegerMathAbs(instr); |
} else { |
// Representation is tagged. |