Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index 3ee4412c10e6a1fbfa2914068743eef69c9454f3..a3419b56b73cbf680dc0d44bcb283082dc5a4cca 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -64,7 +64,8 @@ const Register GrowArrayElementsDescriptor::KeyRegister() { return rbx; } |
void FastNewClosureDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {rbx}; |
+ // SharedFunctionInfo, vector, slot index. |
+ Register registers[] = {rbx, rcx, rdx}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |