Index: src/arm/lithium-codegen-arm.cc |
=================================================================== |
--- src/arm/lithium-codegen-arm.cc (revision 15967) |
+++ src/arm/lithium-codegen-arm.cc (working copy) |
@@ -3776,7 +3776,7 @@ |
DwVfpRegister input = ToDoubleRegister(instr->value()); |
DwVfpRegister result = ToDoubleRegister(instr->result()); |
__ vabs(result, input); |
- } else if (r.IsInteger32()) { |
+ } else if (r.IsSmiOrInteger32()) { |
EmitIntegerMathAbs(instr); |
} else { |
// Representation is tagged. |