Index: src/arm64/interface-descriptors-arm64.cc |
diff --git a/src/arm64/interface-descriptors-arm64.cc b/src/arm64/interface-descriptors-arm64.cc |
index 25cacc2b8569420c8674e318234556207982ac2f..169c709a274a3da97bfb80e1a878a6357d148fc2 100644 |
--- a/src/arm64/interface-descriptors-arm64.cc |
+++ b/src/arm64/interface-descriptors-arm64.cc |
@@ -436,7 +436,8 @@ |
&default_descriptor); |
} |
-void ApiCallbackDescriptorBase::InitializePlatformSpecific( |
+ |
+void ApiFunctionDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
static PlatformInterfaceDescriptor default_descriptor = |
PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); |
@@ -446,6 +447,23 @@ |
x4, // call_data |
x2, // holder |
x1, // api_function_address |
+ x3, // actual number of arguments |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers, |
+ &default_descriptor); |
+} |
+ |
+ |
+void ApiAccessorDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ static PlatformInterfaceDescriptor default_descriptor = |
+ PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); |
+ |
+ Register registers[] = { |
+ x0, // callee |
+ x4, // call_data |
+ x2, // holder |
+ x1, // api_function_address |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers, |
&default_descriptor); |