Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 07f733865f43b6c88a88f263d8534819732fe1ea..ebc6bb14f5e4fc8d81f66272f09823ed1904243d 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -524,7 +524,7 @@ Handle<Object> LCodeGen::ToHandle(LConstantOperand* op) const { |
bool LCodeGen::IsInteger32(LConstantOperand* op) const { |
- return chunk_->LookupLiteralRepresentation(op).IsInteger32(); |
+ return chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32(); |
} |