| Index: src/x87/code-stubs-x87.cc
|
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
|
| index f0901b32b714fcf5e19b3225cc426290c7f059a7..a8b3e62235447ce549bd860f14204a8723cc7db4 100644
|
| --- a/src/x87/code-stubs-x87.cc
|
| +++ b/src/x87/code-stubs-x87.cc
|
| @@ -1836,6 +1836,9 @@ void CallConstructStub::Generate(MacroAssembler* masm) {
|
| __ AssertUndefinedOrAllocationSite(ebx);
|
| }
|
|
|
| + // Pass original constructor to construct stub.
|
| + __ mov(edx, edi);
|
| +
|
| // Jump to the function-specific construct stub.
|
| Register jmp_reg = ecx;
|
| __ mov(jmp_reg, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset));
|
|
|