Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index dfb24783d016d6d2c5cde5106e93df6ce399cf5d..b0ac8fe97e7b011c28a65ad00511551d0f391582 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -2482,7 +2482,7 @@ MaybeObject* Heap::AllocatePartialMap(InstanceType instance_type, |
reinterpret_cast<Map*>(result)->set_unused_property_fields(0); |
reinterpret_cast<Map*>(result)->set_bit_field(0); |
reinterpret_cast<Map*>(result)->set_bit_field2(0); |
- int bit_field3 = Map::EnumLengthBits::encode(Map::kInvalidEnumCache) | |
+ int bit_field3 = Map::EnumLengthBits::encode(kInvalidEnumCacheSentinel) | |
Map::OwnsDescriptors::encode(true); |
reinterpret_cast<Map*>(result)->set_bit_field3(bit_field3); |
return result; |
@@ -2514,7 +2514,7 @@ MaybeObject* Heap::AllocateMap(InstanceType instance_type, |
map->set_instance_descriptors(empty_descriptor_array()); |
map->set_bit_field(0); |
map->set_bit_field2(1 << Map::kIsExtensible); |
- int bit_field3 = Map::EnumLengthBits::encode(Map::kInvalidEnumCache) | |
+ int bit_field3 = Map::EnumLengthBits::encode(kInvalidEnumCacheSentinel) | |
Map::OwnsDescriptors::encode(true); |
map->set_bit_field3(bit_field3); |
map->set_elements_kind(elements_kind); |