Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index c9fda35b365eb110b66384fbf7d773537b9e1710..15fcab55df0b19365a75b2fd2cf72e42065a5f6c 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -2282,7 +2282,7 @@ class RepresentationSelector { |
MachineRepresentation::kTaggedPointer); |
if (lower()) DeferReplacement(node, node->InputAt(0)); |
} else { |
- VisitUnop(node, UseInfo::AnyTagged(), |
+ VisitUnop(node, UseInfo::CheckedHeapObjectAsTaggedPointer(), |
MachineRepresentation::kTaggedPointer); |
} |
return; |
@@ -2323,7 +2323,7 @@ class RepresentationSelector { |
MachineRepresentation::kTaggedPointer); |
if (lower()) DeferReplacement(node, node->InputAt(0)); |
} else { |
- VisitUnop(node, UseInfo::AnyTagged(), |
+ VisitUnop(node, UseInfo::CheckedHeapObjectAsTaggedPointer(), |
MachineRepresentation::kTaggedPointer); |
} |
return; |