OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ | 5 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ |
6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ | 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 V(FastCloneShallowObject) \ | 41 V(FastCloneShallowObject) \ |
42 V(CreateAllocationSite) \ | 42 V(CreateAllocationSite) \ |
43 V(CreateWeakCell) \ | 43 V(CreateWeakCell) \ |
44 V(CallFunction) \ | 44 V(CallFunction) \ |
45 V(CallIC) \ | 45 V(CallIC) \ |
46 V(CallICTrampoline) \ | 46 V(CallICTrampoline) \ |
47 V(CallForwardVarargs) \ | 47 V(CallForwardVarargs) \ |
48 V(CallConstruct) \ | 48 V(CallConstruct) \ |
49 V(CallTrampoline) \ | 49 V(CallTrampoline) \ |
50 V(ConstructStub) \ | 50 V(ConstructStub) \ |
| 51 V(ConstructForwardVarargs) \ |
51 V(ConstructTrampoline) \ | 52 V(ConstructTrampoline) \ |
52 V(TransitionElementsKind) \ | 53 V(TransitionElementsKind) \ |
53 V(AllocateHeapNumber) \ | 54 V(AllocateHeapNumber) \ |
54 V(Builtin) \ | 55 V(Builtin) \ |
55 V(ArrayConstructor) \ | 56 V(ArrayConstructor) \ |
56 V(IteratingArrayBuiltin) \ | 57 V(IteratingArrayBuiltin) \ |
57 V(ArrayNoArgumentConstructor) \ | 58 V(ArrayNoArgumentConstructor) \ |
58 V(ArraySingleArgumentConstructor) \ | 59 V(ArraySingleArgumentConstructor) \ |
59 V(ArrayNArgumentsConstructor) \ | 60 V(ArrayNArgumentsConstructor) \ |
60 V(Compare) \ | 61 V(Compare) \ |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 | 569 |
569 class CallTrampolineDescriptor : public CallInterfaceDescriptor { | 570 class CallTrampolineDescriptor : public CallInterfaceDescriptor { |
570 public: | 571 public: |
571 DEFINE_PARAMETERS(kFunction, kActualArgumentsCount) | 572 DEFINE_PARAMETERS(kFunction, kActualArgumentsCount) |
572 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallTrampolineDescriptor, | 573 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallTrampolineDescriptor, |
573 CallInterfaceDescriptor) | 574 CallInterfaceDescriptor) |
574 }; | 575 }; |
575 | 576 |
576 class CallForwardVarargsDescriptor : public CallInterfaceDescriptor { | 577 class CallForwardVarargsDescriptor : public CallInterfaceDescriptor { |
577 public: | 578 public: |
578 DEFINE_PARAMETERS(kTarget, kStartIndex) | 579 DEFINE_PARAMETERS(kTarget, kActualArgumentsCount, kStartIndex) |
579 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallForwardVarargsDescriptor, | 580 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallForwardVarargsDescriptor, |
580 CallInterfaceDescriptor) | 581 CallInterfaceDescriptor) |
581 }; | 582 }; |
582 | 583 |
| 584 class ConstructForwardVarargsDescriptor : public CallInterfaceDescriptor { |
| 585 public: |
| 586 DEFINE_PARAMETERS(kTarget, kNewTarget, kActualArgumentsCount, kStartIndex) |
| 587 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
| 588 ConstructForwardVarargsDescriptor, CallInterfaceDescriptor) |
| 589 }; |
| 590 |
583 class ConstructStubDescriptor : public CallInterfaceDescriptor { | 591 class ConstructStubDescriptor : public CallInterfaceDescriptor { |
584 public: | 592 public: |
585 DEFINE_PARAMETERS(kFunction, kNewTarget, kActualArgumentsCount, | 593 DEFINE_PARAMETERS(kFunction, kNewTarget, kActualArgumentsCount, |
586 kAllocationSite) | 594 kAllocationSite) |
587 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ConstructStubDescriptor, | 595 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ConstructStubDescriptor, |
588 CallInterfaceDescriptor) | 596 CallInterfaceDescriptor) |
589 }; | 597 }; |
590 | 598 |
591 | 599 |
592 class ConstructTrampolineDescriptor : public CallInterfaceDescriptor { | 600 class ConstructTrampolineDescriptor : public CallInterfaceDescriptor { |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 } // namespace v8 | 910 } // namespace v8 |
903 | 911 |
904 | 912 |
905 #if V8_TARGET_ARCH_ARM64 | 913 #if V8_TARGET_ARCH_ARM64 |
906 #include "src/arm64/interface-descriptors-arm64.h" | 914 #include "src/arm64/interface-descriptors-arm64.h" |
907 #elif V8_TARGET_ARCH_ARM | 915 #elif V8_TARGET_ARCH_ARM |
908 #include "src/arm/interface-descriptors-arm.h" | 916 #include "src/arm/interface-descriptors-arm.h" |
909 #endif | 917 #endif |
910 | 918 |
911 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 919 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |