Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index 8d1bfca90bafb38173e3f5f22a5343e808cf7270..9bcbf9cfccb370b7ade194ebf2df6ef7894e431c 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -169,11 +169,11 @@ void CallConstructDescriptor::InitializePlatformSpecific( |
// r3 : number of arguments |
// r4 : the function to call |
// r5 : feedback vector |
- // r6 : (only if r5 is not the megamorphic symbol) slot in feedback |
- // vector (Smi) |
+ // r6 : slot in feedback vector (Smi, for RecordCallTarget) |
+ // r7 : 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[] = {r3, r4, r5}; |
+ Register registers[] = {r3, r4, r7, r5}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |