Index: src/arm/interface-descriptors-arm.cc |
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc |
index fbc137ced917f3428bbb5bcc815d6f0c05c82693..1e06d8c307819533459cc2990bb793a186049b3c 100644 |
--- a/src/arm/interface-descriptors-arm.cc |
+++ b/src/arm/interface-descriptors-arm.cc |
@@ -190,15 +190,16 @@ |
} |
-void ConstructDescriptor::InitializePlatformSpecific( |
+void CallConstructDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// r0 : number of arguments |
// r1 : the function to call |
// r2 : feedback vector |
// r3 : slot in feedback vector (Smi, for RecordCallTarget) |
+ // r4 : 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[] = {r0, r1, r2, r3}; |
+ Register registers[] = {r0, r1, r4, r2}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |