Index: src/mips64/interface-descriptors-mips64.cc |
diff --git a/src/mips64/interface-descriptors-mips64.cc b/src/mips64/interface-descriptors-mips64.cc |
index 44c8dff17d5e1d970f144b6851d0809d63f8d9b8..8f76ff8909e92df0c20db6106efd138341776baf 100644 |
--- a/src/mips64/interface-descriptors-mips64.cc |
+++ b/src/mips64/interface-descriptors-mips64.cc |
@@ -299,6 +299,27 @@ void ApiFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
a4, // call_data |
a2, // holder |
a1, // api_function_address |
+ a3, // 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); |
+} |
+ |
+ |
+void ApiAccessorDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ cp, // context |
+ a0, // callee |
+ a4, // call_data |
+ a2, // holder |
+ a1, // api_function_address |
}; |
Representation representations[] = { |
Representation::Tagged(), // context |