Index: src/mips/interface-descriptors-mips.cc |
diff --git a/src/mips/interface-descriptors-mips.cc b/src/mips/interface-descriptors-mips.cc |
index ecdaecf2b71216fe98be0c66f8baeaa4aa16367e..979fbf45f0356316fbdd14155adefa32283f5d17 100644 |
--- a/src/mips/interface-descriptors-mips.cc |
+++ b/src/mips/interface-descriptors-mips.cc |
@@ -299,6 +299,27 @@ void ApiFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
t0, // 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 |
+ t0, // call_data |
+ a2, // holder |
+ a1, // api_function_address |
}; |
Representation representations[] = { |
Representation::Tagged(), // context |