Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index 6e4096361a6fd6c03326bc35f7fe8fbf8521372b..b7750116817f9b74b3387d91b9b6a057d2d327ba 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); |
} |