| Index: src/x87/interface-descriptors-x87.cc
|
| diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc
|
| index c394bfa1b90bf4cf86a72036f534a3b92ccbaa87..43f4a21588f748fd46721b14d422cc766a681a2e 100644
|
| --- a/src/x87/interface-descriptors-x87.cc
|
| +++ b/src/x87/interface-descriptors-x87.cc
|
| @@ -407,16 +407,27 @@ void MathRoundVariantCallFromOptimizedCodeDescriptor::
|
| }
|
|
|
|
|
| -void PushArgsAndCallDescriptor::InitializePlatformSpecific(
|
| +void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| Register registers[] = {
|
| - eax, // argument count (including receiver)
|
| + eax, // argument count (not including receiver)
|
| ebx, // address of first argument
|
| edi // the target callable to be call
|
| };
|
| data->InitializePlatformSpecific(arraysize(registers), registers);
|
| }
|
|
|
| +
|
| +void InterpreterCEntryDescriptor::InitializePlatformSpecific(
|
| + CallInterfaceDescriptorData* data) {
|
| + Register registers[] = {
|
| + eax, // argument count (argc)
|
| + ecx, // address of first argument (argv)
|
| + ebx // the runtime function to call
|
| + };
|
| + data->InitializePlatformSpecific(arraysize(registers), registers);
|
| +}
|
| +
|
| } // namespace internal
|
| } // namespace v8
|
|
|
|
|