Index: src/mips/interface-descriptors-mips.cc |
diff --git a/src/mips/interface-descriptors-mips.cc b/src/mips/interface-descriptors-mips.cc |
index f5592c8517c79c5879f96951637f9b05064d2aa8..f8b2876313a4496f8f813778ca852f1ecdec98a1 100644 |
--- a/src/mips/interface-descriptors-mips.cc |
+++ b/src/mips/interface-descriptors-mips.cc |
@@ -384,13 +384,27 @@ |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
-void ApiCallbackDescriptorBase::InitializePlatformSpecific( |
+ |
+void ApiFunctionDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |
a0, // callee |
t0, // 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 |
+ t0, // call_data |
+ a2, // holder |
+ a1, // api_function_address |
}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |