| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index f7bd9b6a31005bfe6f879eab5a928ffaa6ede4bd..f6647c3845c6f1359470efe2481e86ac1b80a195 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -2017,6 +2017,9 @@ void CallConstructStub::Generate(MacroAssembler* masm) {
|
| __ AssertUndefinedOrAllocationSite(rbx);
|
| }
|
|
|
| + // Pass original constructor to construct stub.
|
| + __ movp(r11, rdi);
|
| +
|
| // Jump to the function-specific construct stub.
|
| Register jmp_reg = rcx;
|
| __ movp(jmp_reg, FieldOperand(rdi, JSFunction::kSharedFunctionInfoOffset));
|
|
|