| Index: src/x64/interface-descriptors-x64.cc
|
| diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc
|
| index c323a2d5dba402651aa3b47ffb5ffbe78e520e67..fbbcb1a14bde5e6ac14d691be23228d0f1685a2d 100644
|
| --- a/src/x64/interface-descriptors-x64.cc
|
| +++ b/src/x64/interface-descriptors-x64.cc
|
| @@ -388,8 +388,20 @@ void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| Register registers[] = {
|
| rax, // argument count (not including receiver)
|
| + rbx, // address of first argument.
|
| + rdi // the target callable to be called.
|
| + };
|
| + data->InitializePlatformSpecific(arraysize(registers), registers);
|
| +}
|
| +
|
| +
|
| +void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
|
| + CallInterfaceDescriptorData* data) {
|
| + Register registers[] = {
|
| + rax, // argument count (not including receiver)
|
| + rdx, // original constructor
|
| + rdi, // constructor
|
| rbx, // address of first argument
|
| - rdi // the target callable to be call
|
| };
|
| data->InitializePlatformSpecific(arraysize(registers), registers);
|
| }
|
|
|