Index: src/arm64/interface-descriptors-arm64.cc |
diff --git a/src/arm64/interface-descriptors-arm64.cc b/src/arm64/interface-descriptors-arm64.cc |
index 57eebcc3b5c078d28b55f33065ae72c5e99ac7eb..b6c957cb1fbf42323d5f7da8292c9a2ab272a1c8 100644 |
--- a/src/arm64/interface-descriptors-arm64.cc |
+++ b/src/arm64/interface-descriptors-arm64.cc |
@@ -362,6 +362,31 @@ void ApiFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
x4, // call_data |
x2, // holder |
x1, // api_function_address |
+ x3, // 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, |
+ &default_descriptor); |
+} |
+ |
+ |
+void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
+ static PlatformInterfaceDescriptor default_descriptor = |
+ PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); |
+ |
+ Register registers[] = { |
+ cp, // context |
+ x0, // callee |
+ x4, // call_data |
+ x2, // holder |
+ x1, // api_function_address |
}; |
Representation representations[] = { |
Representation::Tagged(), // context |