Index: src/ia32/interface-descriptors-ia32.cc |
diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc |
index 6a415b26730227040752c0d0398a4934050fe7be..7c60039a3c41e136713d38c6909183616188ee5f 100644 |
--- a/src/ia32/interface-descriptors-ia32.cc |
+++ b/src/ia32/interface-descriptors-ia32.cc |
@@ -194,15 +194,16 @@ |
} |
-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); |
} |