Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index d886cf02a702a9b69e4c2c573e6b08be62f6e597..08e5fb0415e9aea5ff31a963d12b1b755286256d 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1031,7 +1031,7 @@ class RepresentationSelector { |
MachineRepresentation field_representation, Type* field_type, |
Node* value) { |
if (base_taggedness == kTaggedBase && |
- field_representation == MachineRepresentation::kTagged) { |
+ CanBeTaggedPointer(field_representation)) { |
Type* value_type = NodeProperties::GetType(value); |
if (field_type->Is(Type::TaggedSigned()) || |
value_type->Is(Type::TaggedSigned())) { |