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:
parent
38bf70b9cd
commit
cdb4b8fba1
@ -392,7 +392,7 @@ Handle<TransitionArray> TransitionArray::Allocate(Isolate* isolate,
|
|||||||
int number_of_transitions,
|
int number_of_transitions,
|
||||||
int slack) {
|
int slack) {
|
||||||
Handle<FixedArray> array = isolate->factory()->NewFixedArray(
|
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(kPrototypeTransitionsIndex, Smi::FromInt(0));
|
||||||
array->set(kTransitionLengthIndex, Smi::FromInt(number_of_transitions));
|
array->set(kTransitionLengthIndex, Smi::FromInt(number_of_transitions));
|
||||||
return Handle<TransitionArray>::cast(array);
|
return Handle<TransitionArray>::cast(array);
|
||||||
|
Loading…
Reference in New Issue
Block a user