| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index a20f87b122cda6954667cb88e20d1c40a5e7e51a..9dcf9d5d433956246f5b20888ece777409cdbac3 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1632,9 +1632,10 @@ bool Genesis::InstallNatives() {
|
| // through a common bottleneck that would make the SMI_ONLY -> FAST_ELEMENT
|
| // transition easy to trap. Moreover, they rarely are smi-only.
|
| MaybeObject* maybe_map =
|
| - array_function->initial_map()->CopyDropTransitions();
|
| + array_function->initial_map()->CopyDropTransitions(
|
| + DescriptorArray::MAY_BE_SHARED);
|
| Map* new_map;
|
| - if (!maybe_map->To<Map>(&new_map)) return false;
|
| + if (!maybe_map->To(&new_map)) return false;
|
| new_map->set_elements_kind(FAST_HOLEY_ELEMENTS);
|
| array_function->set_initial_map(new_map);
|
|
|
| @@ -2195,7 +2196,6 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from,
|
| break;
|
| }
|
| case MAP_TRANSITION:
|
| - case ELEMENTS_TRANSITION:
|
| case CONSTANT_TRANSITION:
|
| case NULL_DESCRIPTOR:
|
| // Ignore non-properties.
|
|
|