Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index 1368c5e6c76c7d247fefe247146ba859370a81a6..daba8d42d6fa263ae5e9e02d5dcc24029efca94d 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -189,7 +189,7 @@ |
} |
-void ConstructDescriptor::InitializePlatformSpecific( |
+void CallConstructDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// rax : number of arguments |
// rbx : feedback vector |
@@ -197,7 +197,7 @@ |
// rdi : 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[] = {rax, rbx, rdx, rdi}; |
+ Register registers[] = {rax, rdi, rbx}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |