Index: src/mips/interface-descriptors-mips.cc |
diff --git a/src/mips/interface-descriptors-mips.cc b/src/mips/interface-descriptors-mips.cc |
index b85b1cbf4d7beb71635338000edbd4d9e332d7ad..3168d9be134c254727f91d4d3749414f73ee67df 100644 |
--- a/src/mips/interface-descriptors-mips.cc |
+++ b/src/mips/interface-descriptors-mips.cc |
@@ -392,7 +392,7 @@ void MathRoundVariantCallFromOptimizedCodeDescriptor:: |
} |
-void PushArgsAndCallDescriptor::InitializePlatformSpecific( |
+void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |
a0, // argument count (including receiver) |
@@ -402,6 +402,17 @@ void PushArgsAndCallDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+ |
+void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ a0, // argument count (argc) |
+ a2, // address of first argument (argv) |
+ a1 // the runtime function to call |
+ }; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
} // namespace internal |
} // namespace v8 |