OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/interface-descriptors.h" | 5 #include "src/interface-descriptors.h" |
6 | 6 |
7 namespace v8 { | 7 namespace v8 { |
8 namespace internal { | 8 namespace internal { |
9 | 9 |
10 | 10 |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 | 426 |
427 void CallTrampolineDescriptor::InitializePlatformIndependent( | 427 void CallTrampolineDescriptor::InitializePlatformIndependent( |
428 CallInterfaceDescriptorData* data) { | 428 CallInterfaceDescriptorData* data) { |
429 // kFunction, kActualArgumentsCount | 429 // kFunction, kActualArgumentsCount |
430 MachineType machine_types[] = {MachineType::AnyTagged(), | 430 MachineType machine_types[] = {MachineType::AnyTagged(), |
431 MachineType::Int32()}; | 431 MachineType::Int32()}; |
432 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 432 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
433 machine_types); | 433 machine_types); |
434 } | 434 } |
435 | 435 |
| 436 void CallForwardVarargsDescriptor::InitializePlatformIndependent( |
| 437 CallInterfaceDescriptorData* data) { |
| 438 // kTarget, kStartIndex |
| 439 MachineType machine_types[] = {MachineType::AnyTagged(), |
| 440 MachineType::Int32()}; |
| 441 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
| 442 machine_types); |
| 443 } |
| 444 |
436 void ConstructStubDescriptor::InitializePlatformIndependent( | 445 void ConstructStubDescriptor::InitializePlatformIndependent( |
437 CallInterfaceDescriptorData* data) { | 446 CallInterfaceDescriptorData* data) { |
438 // kFunction, kNewTarget, kActualArgumentsCount, kAllocationSite | 447 // kFunction, kNewTarget, kActualArgumentsCount, kAllocationSite |
439 MachineType machine_types[] = {MachineType::AnyTagged(), | 448 MachineType machine_types[] = {MachineType::AnyTagged(), |
440 MachineType::AnyTagged(), MachineType::Int32(), | 449 MachineType::AnyTagged(), MachineType::Int32(), |
441 MachineType::AnyTagged()}; | 450 MachineType::AnyTagged()}; |
442 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 451 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
443 machine_types); | 452 machine_types); |
444 } | 453 } |
445 | 454 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 CallInterfaceDescriptorData* data) { | 602 CallInterfaceDescriptorData* data) { |
594 // kNumberOfArguments, kFirstArgument, kFunctionEntry | 603 // kNumberOfArguments, kFirstArgument, kFunctionEntry |
595 MachineType machine_types[] = {MachineType::Int32(), MachineType::Pointer(), | 604 MachineType machine_types[] = {MachineType::Int32(), MachineType::Pointer(), |
596 MachineType::Pointer()}; | 605 MachineType::Pointer()}; |
597 data->InitializePlatformIndependent(arraysize(machine_types), 0, | 606 data->InitializePlatformIndependent(arraysize(machine_types), 0, |
598 machine_types); | 607 machine_types); |
599 } | 608 } |
600 | 609 |
601 } // namespace internal | 610 } // namespace internal |
602 } // namespace v8 | 611 } // namespace v8 |
OLD | NEW |