| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 0d4844a982bc0c2096c8a7d4ccd75c5f9009962a..d32f046e884f0494071f788f7b54d614bcacb243 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -2704,6 +2704,9 @@ void CallConstructStub::Generate(MacroAssembler* masm) {
|
| __ AssertUndefinedOrAllocationSite(a2, t1);
|
| }
|
|
|
| + // Pass function as original constructor.
|
| + __ mov(a3, a1);
|
| +
|
| // Jump to the function-specific construct stub.
|
| Register jmp_reg = t0;
|
| __ lw(jmp_reg, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset));
|
|
|