| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 4e21797046fef3169f7b616895b8b43bc1850ad9..99ff72b0ec1c2d81f0348bc4c21a6855fbb5fbc6 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -5019,6 +5019,9 @@ void ArrayConstructorStub::Generate(MacroAssembler* masm) {
|
| __ AssertUndefinedOrAllocationSite(a2, t0);
|
| }
|
|
|
| + // Enter the context of the Array function.
|
| + __ lw(cp, FieldMemOperand(a1, JSFunction::kContextOffset));
|
| +
|
| Label subclassing;
|
| __ Branch(&subclassing, ne, a1, Operand(a3));
|
|
|
|
|