| Index: src/arm64/interface-descriptors-arm64.cc
|
| diff --git a/src/arm64/interface-descriptors-arm64.cc b/src/arm64/interface-descriptors-arm64.cc
|
| index d6aa2573d05c12482f3f16a6aea6aaf4af3d60c0..d175de307cfb1fad118bf386b7c5a68d5515c426 100644
|
| --- a/src/arm64/interface-descriptors-arm64.cc
|
| +++ b/src/arm64/interface-descriptors-arm64.cc
|
| @@ -192,10 +192,11 @@ void CallConstructDescriptor::InitializePlatformSpecific(
|
| // x0 : number of arguments
|
| // x1 : the function to call
|
| // x2 : feedback vector
|
| - // x3 : slot in feedback vector (smi) (if r2 is not the megamorphic symbol)
|
| + // x3 : slot in feedback vector (Smi, for RecordCallTarget)
|
| + // x4 : original constructor (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[] = {x0, x1, x2};
|
| + Register registers[] = {x0, x1, x4, x2};
|
| data->InitializePlatformSpecific(arraysize(registers), registers);
|
| }
|
|
|
|
|