Index: src/transitions.cc |
diff --git a/src/transitions.cc b/src/transitions.cc |
index df53178dd3d451bdf5514b2f50599b5755016660..086edcb99480369dd97ec7bf170b7d30db296416 100644 |
--- a/src/transitions.cc |
+++ b/src/transitions.cc |
@@ -50,7 +50,6 @@ MaybeObject* TransitionArray::Allocate(int number_of_transitions) { |
FixedArray* array; |
MaybeObject* maybe_array = AllocateRaw(ToKeyIndex(number_of_transitions)); |
if (!maybe_array->To(&array)) return maybe_array; |
- array->set(kElementsTransitionIndex, Smi::FromInt(0)); |
array->set(kPrototypeTransitionsIndex, Smi::FromInt(0)); |
return array; |
} |
@@ -120,10 +119,6 @@ MaybeObject* TransitionArray::CopyInsert(Name* name, Map* target) { |
maybe_array = TransitionArray::Allocate(new_size); |
if (!maybe_array->To(&result)) return maybe_array; |
- if (HasElementsTransition()) { |
- result->set_elements_transition(elements_transition()); |
- } |
- |
if (HasPrototypeTransitions()) { |
result->SetPrototypeTransitions(GetPrototypeTransitions()); |
} |