Index: src/arm/interface-descriptors-arm.cc |
diff --git a/src/arm/interface-descriptors-arm.cc b/src/arm/interface-descriptors-arm.cc |
index 6f0845c2169c2438f3f68ef425af5930e0362bdd..0adee1387fb243f5397c881c99daf419943b4069 100644 |
--- a/src/arm/interface-descriptors-arm.cc |
+++ b/src/arm/interface-descriptors-arm.cc |
@@ -401,7 +401,8 @@ |
&default_descriptor); |
} |
-void ApiCallbackDescriptorBase::InitializePlatformSpecific( |
+ |
+void ApiFunctionDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
static PlatformInterfaceDescriptor default_descriptor = |
PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); |
@@ -411,6 +412,23 @@ |
r4, // call_data |
r2, // holder |
r1, // api_function_address |
+ r3, // 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[] = { |
+ r0, // callee |
+ r4, // call_data |
+ r2, // holder |
+ r1, // api_function_address |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers, |
&default_descriptor); |