| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index c3db721319a05e7276dce8d09e857c6205f79048..dcfd7ab09cba8ad22e154591f87807b8fcc1ad91 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -431,7 +431,7 @@ XMMRegister LCodeGen::ToDoubleRegister(LOperand* op) const {
|
|
|
| bool LCodeGen::IsInteger32Constant(LConstantOperand* op) const {
|
| return op->IsConstantOperand() &&
|
| - chunk_->LookupLiteralRepresentation(op).IsInteger32();
|
| + chunk_->LookupLiteralRepresentation(op).IsSmiOrInteger32();
|
| }
|
|
|
|
|
|
|