Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index ff13be3c72e2bf8ac2b43dca82d0057fb905587c..fef72606f6e349a9c09afde340ea52141e7167dd 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -5208,9 +5208,7 @@ template<class T> |
static void CreateArrayDispatch(MacroAssembler* masm, |
AllocationSiteOverrideMode mode) { |
if (mode == DISABLE_ALLOCATION_SITES) { |
- T stub(GetInitialFastElementsKind(), |
- CONTEXT_CHECK_REQUIRED, |
- mode); |
+ T stub(GetInitialFastElementsKind(), mode); |
__ TailCallStub(&stub); |
} else if (mode == DONT_OVERRIDE) { |
int last_index = GetSequenceIndexFromFastElementsKind( |
@@ -5270,13 +5268,11 @@ static void CreateArrayDispatchOneArgument(MacroAssembler* masm, |
ElementsKind holey_initial = GetHoleyElementsKind(initial); |
ArraySingleArgumentConstructorStub stub_holey(holey_initial, |
- CONTEXT_CHECK_REQUIRED, |
DISABLE_ALLOCATION_SITES); |
__ TailCallStub(&stub_holey); |
__ bind(&normal_sequence); |
ArraySingleArgumentConstructorStub stub(initial, |
- CONTEXT_CHECK_REQUIRED, |
DISABLE_ALLOCATION_SITES); |
__ TailCallStub(&stub); |
} else if (mode == DONT_OVERRIDE) { |
@@ -5328,7 +5324,7 @@ static void ArrayConstructorStubAheadOfTimeHelper(Isolate* isolate) { |
T stub(kind); |
stub.GetCode(isolate); |
if (AllocationSite::GetMode(kind) != DONT_TRACK_ALLOCATION_SITE) { |
- T stub1(kind, CONTEXT_CHECK_REQUIRED, DISABLE_ALLOCATION_SITES); |
+ T stub1(kind, DISABLE_ALLOCATION_SITES); |
stub1.GetCode(isolate); |
} |
} |