| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 0a3b3d3f88da06fdfe2a745c2cbb7ecee076e000..0907b06fa5b282b24a5a28e6c13e792e29cf83b3 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -1608,7 +1608,8 @@ MaybeObject* Heap::AllocateMap(InstanceType instance_type, int instance_size) {
|
| map->set_prototype_transitions(empty_fixed_array());
|
| map->set_unused_property_fields(0);
|
| map->set_bit_field(0);
|
| - map->set_bit_field2((1 << Map::kIsExtensible) | (1 << Map::kHasFastElements));
|
| + map->set_bit_field2(1 << Map::kIsExtensible);
|
| + map->set_elements_kind(JSObject::FAST_ELEMENTS);
|
|
|
| // If the map object is aligned fill the padding area with Smi 0 objects.
|
| if (Map::kPadStart < Map::kSize) {
|
|
|