Index: src/mips64/interface-descriptors-mips64.cc |
diff --git a/src/mips64/interface-descriptors-mips64.cc b/src/mips64/interface-descriptors-mips64.cc |
index 4e46baee91182abc37a575f220e89445a2004189..1ef13b377d39454ee8b79b9357f05824168b3238 100644 |
--- a/src/mips64/interface-descriptors-mips64.cc |
+++ b/src/mips64/interface-descriptors-mips64.cc |
@@ -384,13 +384,27 @@ |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
-void ApiCallbackDescriptorBase::InitializePlatformSpecific( |
+ |
+void ApiFunctionDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |
a0, // callee |
a4, // call_data |
a2, // holder |
a1, // api_function_address |
+ a3, // actual number of arguments |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
+ |
+void ApiAccessorDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ a0, // callee |
+ a4, // call_data |
+ a2, // holder |
+ a1, // api_function_address |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |