| Index: src/mips64/interface-descriptors-mips64.cc
|
| diff --git a/src/mips64/interface-descriptors-mips64.cc b/src/mips64/interface-descriptors-mips64.cc
|
| index 787f7ba1a81a116dccad6f23a302180a03e788e8..e7e04b606b896fb4699150daf0513de176b2bbfb 100644
|
| --- a/src/mips64/interface-descriptors-mips64.cc
|
| +++ b/src/mips64/interface-descriptors-mips64.cc
|
| @@ -155,6 +155,16 @@ void CallTrampolineDescriptor::InitializePlatformSpecific(
|
| data->InitializePlatformSpecific(arraysize(registers), registers);
|
| }
|
|
|
| +void CallVarargsDescriptor::InitializePlatformSpecific(
|
| + CallInterfaceDescriptorData* data) {
|
| + // a0 : number of arguments (on the stack, not including receiver)
|
| + // a1 : the target to call
|
| + // a2 : arguments list (FixedArray)
|
| + // a4 : arguments list length (untagged)
|
| + Register registers[] = {a1, a0, a2, a4};
|
| + data->InitializePlatformSpecific(arraysize(registers), registers);
|
| +}
|
| +
|
| void CallForwardVarargsDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| // a1: the target to call
|
| @@ -164,6 +174,25 @@ void CallForwardVarargsDescriptor::InitializePlatformSpecific(
|
| data->InitializePlatformSpecific(arraysize(registers), registers);
|
| }
|
|
|
| +void CallWithArrayLikeDescriptor::InitializePlatformSpecific(
|
| + CallInterfaceDescriptorData* data) {
|
| + // a1 : the target to call
|
| + // a2 : the arguments list
|
| + Register registers[] = {a1, a2};
|
| + data->InitializePlatformSpecific(arraysize(registers), registers);
|
| +}
|
| +
|
| +void ConstructVarargsDescriptor::InitializePlatformSpecific(
|
| + CallInterfaceDescriptorData* data) {
|
| + // a0 : number of arguments (on the stack, not including receiver)
|
| + // a1 : the target to call
|
| + // a3 : the new target
|
| + // a2 : arguments list (FixedArray)
|
| + // a4 : arguments list length (untagged)
|
| + Register registers[] = {a1, a3, a0, a2, a4};
|
| + data->InitializePlatformSpecific(arraysize(registers), registers);
|
| +}
|
| +
|
| void ConstructForwardVarargsDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| // a1: the target to call
|
| @@ -174,6 +203,15 @@ void ConstructForwardVarargsDescriptor::InitializePlatformSpecific(
|
| data->InitializePlatformSpecific(arraysize(registers), registers);
|
| }
|
|
|
| +void ConstructWithArrayLikeDescriptor::InitializePlatformSpecific(
|
| + CallInterfaceDescriptorData* data) {
|
| + // a1 : the target to call
|
| + // a3 : the new target
|
| + // a2 : the arguments list
|
| + Register registers[] = {a1, a3, a2};
|
| + data->InitializePlatformSpecific(arraysize(registers), registers);
|
| +}
|
| +
|
| void ConstructStubDescriptor::InitializePlatformSpecific(
|
| CallInterfaceDescriptorData* data) {
|
| // a1: target
|
|
|