Revert of Tenure transition array. (patchset #1 id:1 of https://codereview.chromium.org/1472363007/ )

Reason for revert:
Broken canary. Trying to find out root cause.

Original issue's description:
> Tenure transition array.
>
> BUG=
>
> Committed: https://crrev.com/c88d7cd1e09d921e8a9a2930cfe6f2dfbea3dc90
> Cr-Commit-Position: refs/heads/master@{#32378}

TBR=ulan@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:563378

Review URL: https://codereview.chromium.org/1485613003

Cr-Commit-Position: refs/heads/master@{#32405}
This commit is contained in:
hpayer 2015-11-30 05:05:02 -08:00 committed by Commit bot
parent 38bf70b9cd
commit cdb4b8fba1

View File

@ -392,7 +392,7 @@ Handle<TransitionArray> TransitionArray::Allocate(Isolate* isolate,
int number_of_transitions,
int slack) {
Handle<FixedArray> array = isolate->factory()->NewFixedArray(
LengthFor(number_of_transitions + slack), TENURED);
LengthFor(number_of_transitions + slack));
array->set(kPrototypeTransitionsIndex, Smi::FromInt(0));
array->set(kTransitionLengthIndex, Smi::FromInt(number_of_transitions));
return Handle<TransitionArray>::cast(array);