Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 940973ef76c0f248610e86e057125f8fa5fd64d4..a0133e41c4b3dd5b0f17535956ef04b46c734bd3 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -2689,7 +2689,7 @@ void HRangeAnalysis::Analyze(HBasicBlock* block) { |
void HRangeAnalysis::InferControlFlowRange(HCompareIDAndBranch* test, |
HBasicBlock* dest) { |
ASSERT((test->FirstSuccessor() == dest) == (test->SecondSuccessor() != dest)); |
- if (test->representation().IsInteger32()) { |
+ if (test->representation().IsSmiOrInteger32()) { |
Token::Value op = test->token(); |
if (test->SecondSuccessor() == dest) { |
op = Token::NegateCompareOp(op); |