| Index: src/mips64/code-stubs-mips64.cc
|
| diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc
|
| index 3ff0477f5a7a354ed59d241f9b0ab091a99532fe..b4064ae733b6f0461c295b39adf90447ac74bb40 100644
|
| --- a/src/mips64/code-stubs-mips64.cc
|
| +++ b/src/mips64/code-stubs-mips64.cc
|
| @@ -2739,6 +2739,9 @@ void CallConstructStub::Generate(MacroAssembler* masm) {
|
| __ AssertUndefinedOrAllocationSite(a2, a5);
|
| }
|
|
|
| + // Pass function as original constructor.
|
| + __ mov(a3, a1);
|
| +
|
| // Jump to the function-specific construct stub.
|
| Register jmp_reg = a4;
|
| __ ld(jmp_reg, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset));
|
|
|