Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index e20f062608025140aee70a2606b043683d3f5f31..8562d60ef0fe2db02b32f812ab21d90c1ed0ebbb 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -155,6 +155,16 @@ void CallTrampolineDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void CallVarargsDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // rax : number of arguments (on the stack, not including receiver) |
+ // rdi : the target to call |
+ // rbx : arguments list (FixedArray) |
+ // rcx : arguments list length (untagged) |
+ Register registers[] = {rdi, rax, rbx, rcx}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void CallForwardVarargsDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// rax : number of arguments |
@@ -164,6 +174,25 @@ void CallForwardVarargsDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void CallWithArrayLikeDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // rdi : the target to call |
+ // rbx : the arguments list |
+ Register registers[] = {rdi, rbx}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+void ConstructVarargsDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // rax : number of arguments (on the stack, not including receiver) |
+ // rdi : the target to call |
+ // rdx : the new target |
+ // rbx : arguments list (FixedArray) |
+ // rcx : arguments list length (untagged) |
+ Register registers[] = {rdi, rdx, rax, rbx, rcx}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void ConstructForwardVarargsDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// rax : number of arguments |
@@ -174,6 +203,15 @@ void ConstructForwardVarargsDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void ConstructWithArrayLikeDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // rdi : the target to call |
+ // rdx : the new target |
+ // rbx : the arguments list |
+ Register registers[] = {rdi, rdx, rbx}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void ConstructStubDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// rax : number of arguments |