Index: src/mips/interface-descriptors-mips.cc |
diff --git a/src/mips/interface-descriptors-mips.cc b/src/mips/interface-descriptors-mips.cc |
index 75cd3a918830c61ff379abc6caba0d40c8251933..b85b1cbf4d7beb71635338000edbd4d9e332d7ad 100644 |
--- a/src/mips/interface-descriptors-mips.cc |
+++ b/src/mips/interface-descriptors-mips.cc |
@@ -392,27 +392,16 @@ |
} |
-void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = { |
- a0, // argument count (not including receiver) |
+void PushArgsAndCallDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ Register registers[] = { |
+ a0, // argument count (including receiver) |
a2, // address of first argument |
a1 // the target callable to be call |
}; |
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 |