Index: src/mips64/interface-descriptors-mips64.cc |
diff --git a/src/mips64/interface-descriptors-mips64.cc b/src/mips64/interface-descriptors-mips64.cc |
index cb596af41478143721020bc6c4da338ab817b751..da1ca1fa0265c44927dd5723469ffd7b9e5c9816 100644 |
--- a/src/mips64/interface-descriptors-mips64.cc |
+++ b/src/mips64/interface-descriptors-mips64.cc |
@@ -169,11 +169,11 @@ void CallConstructDescriptor::InitializePlatformSpecific( |
// a0 : number of arguments |
// a1 : the function to call |
// a2 : feedback vector |
- // a3 : (only if a2 is not the megamorphic symbol) slot in feedback |
- // vector (Smi) |
+ // a3 : slot in feedback vector (Smi, for RecordCallTarget) |
+ // a4 : 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[] = {a0, a1, a2}; |
+ Register registers[] = {a0, a1, a4, a2}; |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |