Index: src/ia32/interface-descriptors-ia32.cc |
diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc |
index 7c60039a3c41e136713d38c6909183616188ee5f..6a415b26730227040752c0d0398a4934050fe7be 100644 |
--- a/src/ia32/interface-descriptors-ia32.cc |
+++ b/src/ia32/interface-descriptors-ia32.cc |
@@ -194,16 +194,15 @@ void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
} |
-void CallConstructDescriptor::InitializePlatformSpecific( |
+void ConstructDescriptor::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, ecx, ebx}; |
+ Register registers[] = {eax, edi, edx, ebx}; |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |