| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index bd91cd61e25122f6afd5f559b0e65c13fddf40ec..465762b27ac70e46f21d181465d441e11a498970 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2149,6 +2149,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));
|
|
|