| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index eb6d4f0a1d9ef755eaeb15a8196d58f30f2ddb01..1544bad992b5dd11f051916b4c88f2fbe4ced788 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -2211,7 +2211,7 @@ void InductionVariableData::ChecksRelatedToLength::AddCheck(
|
| */
|
| int32_t InductionVariableData::ComputeIncrement(HPhi* phi,
|
| HValue* phi_operand) {
|
| - if (!phi_operand->representation().IsInteger32()) return 0;
|
| + if (!phi_operand->representation().IsSmiOrInteger32()) return 0;
|
|
|
| if (phi_operand->IsAdd()) {
|
| HAdd* operation = HAdd::cast(phi_operand);
|
|
|