Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 26ce4dcb857f0fe2cbacf4eb0e9ae0722e6b0052..b2c4b6b5c0fd2b957b31292c7713bcab54183207 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -300,6 +300,27 @@ void ApiFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
ebx, // call_data |
ecx, // holder |
edx, // api_function_address |
+ edi, // actual number of arguments |
+ }; |
+ Representation representations[] = { |
+ Representation::Tagged(), // context |
+ Representation::Tagged(), // callee |
+ Representation::Tagged(), // call_data |
+ Representation::Tagged(), // holder |
+ Representation::External(), // api_function_address |
+ Representation::Integer32(), // actual number of arguments |
+ }; |
+ data->Initialize(arraysize(registers), registers, representations); |
+} |
+ |
+ |
+void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ esi, // context |
+ eax, // callee |
+ ebx, // call_data |
+ ecx, // holder |
+ edx, // api_function_address |
}; |
Representation representations[] = { |
Representation::Tagged(), // context |