Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 4f7317dd9a2c04a29c7a1fa1a8586af5f8438f88..13e78045ec6aebec19ed34daab6e39bbe0c5cb5c 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -194,15 +194,16 @@ void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
} |
-void ConstructDescriptor::InitializePlatformSpecific( |
+void CallConstructDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// eax : number of arguments |
// ebx : feedback vector |
+ // ecx : new target (for IsSuperConstructorCall) |
// edx : slot in feedback vector (Smi, for RecordCallTarget) |
// edi : constructor function |
// 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[] = {eax, edi, edx, ebx}; |
+ Register registers[] = {eax, edi, ecx, ebx}; |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |