| Index: src/transitions.cc
|
| diff --git a/src/transitions.cc b/src/transitions.cc
|
| index 5dda18eddf8559a09ae7aa8e1cef5a8d1204720a..6f8b2fec5a9583a3785587c12f0a46ee5a3ab645 100644
|
| --- a/src/transitions.cc
|
| +++ b/src/transitions.cc
|
| @@ -39,10 +39,9 @@ MaybeObject* TransitionArray::Allocate(int number_of_transitions) {
|
| Heap* heap = Isolate::Current()->heap();
|
| // Use FixedArray to not use DescriptorArray::cast on incomplete object.
|
| FixedArray* array;
|
| - { MaybeObject* maybe_array =
|
| - heap->AllocateFixedArray(ToKeyIndex(number_of_transitions));
|
| - if (!maybe_array->To(&array)) return maybe_array;
|
| - }
|
| + MaybeObject* maybe_array =
|
| + heap->AllocateFixedArray(ToKeyIndex(number_of_transitions));
|
| + if (!maybe_array->To(&array)) return maybe_array;
|
|
|
| array->set(kElementsTransitionIndex, Smi::FromInt(0));
|
| array->set(kPrototypeTransitionsIndex, Smi::FromInt(0));
|
|
|