| Index: src/ppc/interface-descriptors-ppc.cc
|
| diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc
|
| index b54845d4b35e6dc923d93b945a40dfbff2109fce..06804e1d7895053a9b8b07617fc67d697db63343 100644
|
| --- a/src/ppc/interface-descriptors-ppc.cc
|
| +++ b/src/ppc/interface-descriptors-ppc.cc
|
| @@ -187,7 +187,7 @@ void CallConstructDescriptor::InitializePlatformSpecific(
|
| // r4 : the function to call
|
| // r5 : feedback vector
|
| // r6 : slot in feedback vector (Smi, for RecordCallTarget)
|
| - // r7 : original constructor (for IsSuperConstructorCall)
|
| + // r7 : new target (for IsSuperConstructorCall)
|
| // TODO(turbofan): So far we don't gather type feedback and hence skip the
|
| // slot parameter, but ArrayConstructStub needs the vector to be undefined.
|
| Register registers[] = {r3, r4, r7, r5};
|
| @@ -409,7 +409,7 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| Register registers[] = {
|
| r3, // argument count (not including receiver)
|
| - r6, // original constructor
|
| + r6, // new target
|
| r4, // constructor to call
|
| r5 // address of the first argument
|
| };
|
|
|