Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 0c5f81adac35235ec3abbf222a5a00b01d8e9265..af085ecdf6365b46f74f57096e4164315866290a 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -174,6 +174,13 @@ void CallTrampolineDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void CallForwardVarargsDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // ecx : start index (to support rest parameters) |
+ // edi : the target to call |
+ Register registers[] = {edi, ecx}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
void ConstructStubDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |