Index: src/compiler/access-info.cc |
diff --git a/src/compiler/access-info.cc b/src/compiler/access-info.cc |
index 635641f9f62c43d92b56f04909adc3d91b4198df..3c3dbcbefaa84dba398739d82982a56083969eec 100644 |
--- a/src/compiler/access-info.cc |
+++ b/src/compiler/access-info.cc |
@@ -300,7 +300,7 @@ bool AccessInfoFactory::ComputePropertyAccessInfo( |
MachineRepresentation::kTagged; |
MaybeHandle<Map> field_map; |
if (details_representation.IsSmi()) { |
- field_type = type_cache_.kSmi; |
+ field_type = Type::SignedSmall(); |
field_representation = MachineRepresentation::kTaggedSigned; |
} else if (details_representation.IsDouble()) { |
field_type = type_cache_.kFloat64; |
@@ -497,7 +497,7 @@ bool AccessInfoFactory::LookupTransition(Handle<Map> map, Handle<Name> name, |
MaybeHandle<Map> field_map; |
MachineRepresentation field_representation = MachineRepresentation::kTagged; |
if (details_representation.IsSmi()) { |
- field_type = type_cache_.kSmi; |
+ field_type = Type::SignedSmall(); |
field_representation = MachineRepresentation::kTaggedSigned; |
} else if (details_representation.IsDouble()) { |
field_type = type_cache_.kFloat64; |