| Index: src/compiler/change-lowering.cc
|
| diff --git a/src/compiler/change-lowering.cc b/src/compiler/change-lowering.cc
|
| index 6b39e92f6dfb62ec7d7b19d192d2d6d6d9cca4ce..0d9aa508ad671196057770dc7e38844cf4487dc6 100644
|
| --- a/src/compiler/change-lowering.cc
|
| +++ b/src/compiler/change-lowering.cc
|
| @@ -165,7 +165,7 @@ Reduction ChangeLowering::ChangeInt32ToTagged(Node* value, Node* control) {
|
| machine()->Word64Shl(),
|
| graph()->NewNode(machine()->ChangeInt32ToInt64(), value),
|
| SmiShiftBitsConstant()));
|
| - } else if (NodeProperties::GetBounds(value).upper->Is(Type::Signed31())) {
|
| + } else if (NodeProperties::GetBounds(value).upper->Is(Type::SignedSmall())) {
|
| return Replace(
|
| graph()->NewNode(machine()->WordShl(), value, SmiShiftBitsConstant()));
|
| }
|
|
|