Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 2647cb3125b350a26c899bbad6bdb16c734b9c5d..ddd5037009078afe60ffd55d07e27ae4f27b459e 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -3976,10 +3976,9 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
(AllocationSite::GetMode(kind) == TRACK_ALLOCATION_SITE) |
? DISABLE_ALLOCATION_SITES |
: DONT_OVERRIDE; |
- ContextCheckMode context_mode = CONTEXT_CHECK_NOT_REQUIRED; |
if (instr->arity() == 0) { |
- ArrayNoArgumentConstructorStub stub(kind, context_mode, override_mode); |
+ ArrayNoArgumentConstructorStub stub(kind, override_mode); |
CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
} else if (instr->arity() == 1) { |
Label done; |
@@ -3991,18 +3990,17 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
__ Branch(&packed_case, eq, t1, Operand(zero_reg)); |
ElementsKind holey_kind = GetHoleyElementsKind(kind); |
- ArraySingleArgumentConstructorStub stub(holey_kind, context_mode, |
- override_mode); |
+ ArraySingleArgumentConstructorStub stub(holey_kind, override_mode); |
CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
__ jmp(&done); |
__ bind(&packed_case); |
} |
- ArraySingleArgumentConstructorStub stub(kind, context_mode, override_mode); |
+ ArraySingleArgumentConstructorStub stub(kind, override_mode); |
CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
__ bind(&done); |
} else { |
- ArrayNArgumentsConstructorStub stub(kind, context_mode, override_mode); |
+ ArrayNArgumentsConstructorStub stub(kind, override_mode); |
CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
} |
} |