Index: src/mips/interface-descriptors-mips.cc |
diff --git a/src/mips/interface-descriptors-mips.cc b/src/mips/interface-descriptors-mips.cc |
index 55b86c03b1da3d94aa0f0ed19bfafc07a8e97158..71be512d7bc0fa3142d7c9014265eb6095f2a690 100644 |
--- a/src/mips/interface-descriptors-mips.cc |
+++ b/src/mips/interface-descriptors-mips.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) |
+ // t0 : 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, t0, a2}; |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |