| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 01d8591c9f3703722dcb9a99a521fa6543daffe4..6d1041966feee3ff13c5d242a5380fe5feac645b 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2032,7 +2032,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm, bool is_super) {
|
| void CallConstructStub::Generate(MacroAssembler* masm) {
|
| // eax : number of arguments
|
| // ebx : feedback vector
|
| - // ecx : original constructor (for IsSuperConstructorCall)
|
| + // ecx : new target (for IsSuperConstructorCall)
|
| // edx : slot in feedback vector (Smi, for RecordCallTarget)
|
| // edi : constructor function
|
|
|
| @@ -2067,7 +2067,7 @@ void CallConstructStub::Generate(MacroAssembler* masm) {
|
| if (IsSuperConstructorCall()) {
|
| __ pop(edx);
|
| } else {
|
| - // Pass original constructor to construct stub.
|
| + // Pass new target to construct stub.
|
| __ mov(edx, edi);
|
| }
|
|
|
|
|