| Index: src/x87/code-stubs-x87.cc
|
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
|
| index 67dda77ab5c59082f1ad075d7fa7ed43d1c45c72..039d0822acb523bdce9f00ffe9961292c2b837cb 100644
|
| --- a/src/x87/code-stubs-x87.cc
|
| +++ b/src/x87/code-stubs-x87.cc
|
| @@ -1739,7 +1739,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
|
|
|
| @@ -1774,7 +1774,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);
|
| }
|
|
|
|
|