Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index a97e08307615c50b73b794fbcb582349f5ec541d..1ecb672f8d7c1fc4cf82ca06c7840552ddb232e5 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4399,7 +4399,9 @@ void HGraph::ComputeMinusZeroChecks() { |
Representation from = change->value()->representation(); |
ASSERT(from.Equals(change->from())); |
if (from.IsInteger32()) { |
- ASSERT(change->to().IsTagged() || change->to().IsDouble()); |
+ ASSERT(change->to().IsTagged() || |
+ change->to().IsDouble() || |
+ change->to().IsSmi()); |
ASSERT(visited.IsEmpty()); |
PropagateMinusZeroChecks(change->value(), &visited); |
visited.Clear(); |