| 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..75cd3a918830c61ff379abc6caba0d40c8251933 100644
|
| --- a/src/mips/interface-descriptors-mips.cc
|
| +++ b/src/mips/interface-descriptors-mips.cc
|
| @@ -392,16 +392,27 @@ void MathRoundVariantCallFromOptimizedCodeDescriptor::
|
| }
|
|
|
|
|
| -void PushArgsAndCallDescriptor::InitializePlatformSpecific(
|
| +void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| Register registers[] = {
|
| - a0, // argument count (including receiver)
|
| + a0, // argument count (not 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
|
|
|
|
|