| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index b8e783d3c2b498186444de10f7379a6612a66a22..cffb8a6a9d258f38de29a2dcb48a9837d4e73079 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -5321,18 +5321,13 @@ static void CreateArrayDispatchOneArgument(MacroAssembler* masm,
|
|
|
| template<class T>
|
| static void ArrayConstructorStubAheadOfTimeHelper(Isolate* isolate) {
|
| - ElementsKind initial_kind = GetInitialFastElementsKind();
|
| - ElementsKind initial_holey_kind = GetHoleyElementsKind(initial_kind);
|
| -
|
| int to_index = GetSequenceIndexFromFastElementsKind(
|
| TERMINAL_FAST_ELEMENTS_KIND);
|
| for (int i = 0; i <= to_index; ++i) {
|
| ElementsKind kind = GetFastElementsKindFromSequenceIndex(i);
|
| T stub(kind);
|
| stub.GetCode(isolate);
|
| - if (AllocationSite::GetMode(kind) != DONT_TRACK_ALLOCATION_SITE ||
|
| - (!FLAG_track_allocation_sites &&
|
| - (kind == initial_kind || kind == initial_holey_kind))) {
|
| + if (AllocationSite::GetMode(kind) != DONT_TRACK_ALLOCATION_SITE) {
|
| T stub1(kind, CONTEXT_CHECK_REQUIRED, DISABLE_ALLOCATION_SITES);
|
| stub1.GetCode(isolate);
|
| }
|
|
|