Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index ce7fc9f692484c470878ad98df8d01ebbbfc762e..933cf43b10d165b7e92636cf0412cb93d0c19ac1 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -5732,9 +5732,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( |
@@ -5783,13 +5781,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) { |
@@ -5840,7 +5836,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); |
} |
} |