Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 698192389a7ec5284d2a3c88a596dfe79f012329..089d7db8cb7c3c63db401955f58ab7bbc57b3cf0 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -2074,7 +2074,9 @@ MaybeObject* Heap::AllocateMap(InstanceType instance_type, |
map->set_unused_property_fields(0); |
map->set_bit_field(0); |
map->set_bit_field2(1 << Map::kIsExtensible); |
- map->set_bit_field3(Map::LastAddedBits::encode(Map::kNoneAdded)); |
+ map->set_bit_field3( |
+ Map::EnumLengthBits::update( |
Michael Starzinger
2012/08/06 15:06:22
This is a little convoluted. Better use ...
map->
Toon Verwaest
2012/08/07 10:49:47
Done.
|
+ Map::LastAddedBits::encode(Map::kNoneAdded), Map::kInvalidEnumCache)); |
map->set_elements_kind(elements_kind); |
// If the map object is aligned fill the padding area with Smi 0 objects. |