Index: src/compiler/change-lowering.cc |
diff --git a/src/compiler/change-lowering.cc b/src/compiler/change-lowering.cc |
index ca9295167057fbea4b5ba7bb650cc258803e1b44..4421c4f3e30c05bd3b30bc90c07691def39917f8 100644 |
--- a/src/compiler/change-lowering.cc |
+++ b/src/compiler/change-lowering.cc |
@@ -157,7 +157,7 @@ Reduction ChangeLowering::ChangeFloat64ToTagged(Node* value, Node* control) { |
Reduction ChangeLowering::ChangeInt32ToTagged(Node* value, Node* control) { |
if (machine()->Is64() || |
- NodeProperties::GetBounds(value).upper->Is(Type::SignedSmall())) { |
+ NodeProperties::GetType(value)->Is(Type::SignedSmall())) { |
return Replace(ChangeInt32ToSmi(value)); |
} |
@@ -184,7 +184,7 @@ Reduction ChangeLowering::ChangeInt32ToTagged(Node* value, Node* control) { |
Reduction ChangeLowering::ChangeTaggedToUI32(Node* value, Node* control, |
Signedness signedness) { |
- if (NodeProperties::GetBounds(value).upper->Is(Type::TaggedSigned())) { |
+ if (NodeProperties::GetType(value)->Is(Type::TaggedSigned())) { |
return Replace(ChangeSmiToInt32(value)); |
} |
@@ -193,7 +193,7 @@ Reduction ChangeLowering::ChangeTaggedToUI32(Node* value, Node* control, |
? machine()->ChangeFloat64ToInt32() |
: machine()->ChangeFloat64ToUint32(); |
- if (NodeProperties::GetBounds(value).upper->Is(Type::TaggedPointer())) { |
+ if (NodeProperties::GetType(value)->Is(Type::TaggedPointer())) { |
return Replace(graph()->NewNode(op, LoadHeapNumberValue(value, control))); |
} |
@@ -312,7 +312,7 @@ Reduction ChangeLowering::ChangeTaggedToFloat64(Node* value, Node* control) { |
Reduction ChangeLowering::ChangeUint32ToTagged(Node* value, Node* control) { |
- if (NodeProperties::GetBounds(value).upper->Is(Type::UnsignedSmall())) { |
+ if (NodeProperties::GetType(value)->Is(Type::UnsignedSmall())) { |
return Replace(ChangeUint32ToSmi(value)); |
} |