Index: src/hydrogen-minus-zero.cc |
diff --git a/src/hydrogen-minus-zero.cc b/src/hydrogen-minus-zero.cc |
index e9628959deeec1b9d3159f397bdd1a9ba9fc49a0..28ae6eba40188fee141aeb80b4100109272bba08 100644 |
--- a/src/hydrogen-minus-zero.cc |
+++ b/src/hydrogen-minus-zero.cc |
@@ -41,10 +41,10 @@ void HComputeMinusZeroChecksPhase::Run() { |
// int32-to-tagged and int32-to-double. |
Representation from = change->value()->representation(); |
ASSERT(from.Equals(change->from())); |
- if (from.IsInteger32()) { |
+ if (from.IsSmiOrInteger32()) { |
ASSERT(change->to().IsTagged() || |
change->to().IsDouble() || |
- change->to().IsSmi()); |
+ change->to().IsSmiOrInteger32()); |
ASSERT(visited_.IsEmpty()); |
PropagateMinusZeroChecks(change->value()); |
visited_.Clear(); |