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