Index: src/arm/interface-descriptors-arm.cc |
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc |
index 6e77ee474af8638f8ece2193e5a94f0806eb0d60..238cdd71345a379d6863513fabe6d8580a0ba695 100644 |
--- a/src/arm/interface-descriptors-arm.cc |
+++ b/src/arm/interface-descriptors-arm.cc |
@@ -318,6 +318,31 @@ void ApiFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
r4, // call_data |
r2, // holder |
r1, // api_function_address |
+ r3, // 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 |
+ r0, // callee |
+ r4, // call_data |
+ r2, // holder |
+ r1, // api_function_address |
}; |
Representation representations[] = { |
Representation::Tagged(), // context |