| Index: src/ppc/interface-descriptors-ppc.cc
|
| diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc
|
| index c123e7c602d355c57078e996b1f46394e3fb2b65..b7dd8008a20e1abdc52cf021849f9af6a4f398c2 100644
|
| --- a/src/ppc/interface-descriptors-ppc.cc
|
| +++ b/src/ppc/interface-descriptors-ppc.cc
|
| @@ -391,15 +391,26 @@ void MathRoundVariantCallFromOptimizedCodeDescriptor::
|
| }
|
|
|
|
|
| -void PushArgsAndCallDescriptor::InitializePlatformSpecific(
|
| +void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| Register registers[] = {
|
| - r3, // argument count (including receiver)
|
| + r3, // argument count (not including receiver)
|
| r5, // address of first argument
|
| r4 // the target callable to be call
|
| };
|
| data->InitializePlatformSpecific(arraysize(registers), registers);
|
| }
|
| +
|
| +
|
| +void InterpreterCEntryDescriptor::InitializePlatformSpecific(
|
| + CallInterfaceDescriptorData* data) {
|
| + Register registers[] = {
|
| + r3, // argument count (argc)
|
| + r5, // address of first argument (argv)
|
| + r4 // the runtime function to call
|
| + };
|
| + data->InitializePlatformSpecific(arraysize(registers), registers);
|
| +}
|
| } // namespace internal
|
| } // namespace v8
|
|
|
|
|