Index: src/ia32/lithium-codegen-ia32.cc |
=================================================================== |
--- src/ia32/lithium-codegen-ia32.cc (revision 15967) |
+++ src/ia32/lithium-codegen-ia32.cc (working copy) |
@@ -3833,7 +3833,7 @@ |
__ xorps(scratch, scratch); |
__ subsd(scratch, input_reg); |
__ pand(input_reg, scratch); |
- } else if (r.IsInteger32()) { |
+ } else if (r.IsSmiOrInteger32()) { |
EmitIntegerMathAbs(instr); |
} else { // Tagged case. |
DeferredMathAbsTaggedHeapNumber* deferred = |