Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index 69d788bf19c995d650391cba2fd7364d8701cb9d..ea56441453bf859e8207ab1215c6291ef2d5f8b3 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -188,15 +188,16 @@ void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
} |
-void ConstructDescriptor::InitializePlatformSpecific( |
+void CallConstructDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// r3 : number of arguments |
// r4 : the function to call |
// r5 : feedback vector |
// r6 : slot in feedback vector (Smi, for RecordCallTarget) |
+ // 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, r5, r6}; |
+ Register registers[] = {r3, r4, r7, r5}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |