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 28 matching lines...) Expand all Loading... |
39 V(TypeConversion) \ | 39 V(TypeConversion) \ |
40 V(Typeof) \ | 40 V(Typeof) \ |
41 V(FastCloneRegExp) \ | 41 V(FastCloneRegExp) \ |
42 V(FastCloneShallowArray) \ | 42 V(FastCloneShallowArray) \ |
43 V(FastCloneShallowObject) \ | 43 V(FastCloneShallowObject) \ |
44 V(CreateAllocationSite) \ | 44 V(CreateAllocationSite) \ |
45 V(CreateWeakCell) \ | 45 V(CreateWeakCell) \ |
46 V(CallFunction) \ | 46 V(CallFunction) \ |
47 V(CallFunctionWithFeedback) \ | 47 V(CallFunctionWithFeedback) \ |
48 V(CallFunctionWithFeedbackAndVector) \ | 48 V(CallFunctionWithFeedbackAndVector) \ |
| 49 V(CallForwardVarargs) \ |
49 V(CallConstruct) \ | 50 V(CallConstruct) \ |
50 V(CallTrampoline) \ | 51 V(CallTrampoline) \ |
51 V(ConstructStub) \ | 52 V(ConstructStub) \ |
52 V(ConstructTrampoline) \ | 53 V(ConstructTrampoline) \ |
53 V(RegExpExec) \ | 54 V(RegExpExec) \ |
54 V(CopyFastSmiOrObjectElements) \ | 55 V(CopyFastSmiOrObjectElements) \ |
55 V(TransitionElementsKind) \ | 56 V(TransitionElementsKind) \ |
56 V(AllocateHeapNumber) \ | 57 V(AllocateHeapNumber) \ |
57 V(AllocateFloat32x4) \ | 58 V(AllocateFloat32x4) \ |
58 V(AllocateInt32x4) \ | 59 V(AllocateInt32x4) \ |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 }; | 554 }; |
554 | 555 |
555 | 556 |
556 class CallTrampolineDescriptor : public CallInterfaceDescriptor { | 557 class CallTrampolineDescriptor : public CallInterfaceDescriptor { |
557 public: | 558 public: |
558 DEFINE_PARAMETERS(kFunction, kActualArgumentsCount) | 559 DEFINE_PARAMETERS(kFunction, kActualArgumentsCount) |
559 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallTrampolineDescriptor, | 560 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallTrampolineDescriptor, |
560 CallInterfaceDescriptor) | 561 CallInterfaceDescriptor) |
561 }; | 562 }; |
562 | 563 |
| 564 class CallForwardVarargsDescriptor : public CallInterfaceDescriptor { |
| 565 public: |
| 566 DEFINE_PARAMETERS(kTarget, kStartIndex) |
| 567 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallForwardVarargsDescriptor, |
| 568 CallInterfaceDescriptor) |
| 569 }; |
563 | 570 |
564 class ConstructStubDescriptor : public CallInterfaceDescriptor { | 571 class ConstructStubDescriptor : public CallInterfaceDescriptor { |
565 public: | 572 public: |
566 DEFINE_PARAMETERS(kFunction, kNewTarget, kActualArgumentsCount, | 573 DEFINE_PARAMETERS(kFunction, kNewTarget, kActualArgumentsCount, |
567 kAllocationSite) | 574 kAllocationSite) |
568 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ConstructStubDescriptor, | 575 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ConstructStubDescriptor, |
569 CallInterfaceDescriptor) | 576 CallInterfaceDescriptor) |
570 }; | 577 }; |
571 | 578 |
572 | 579 |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 } // namespace v8 | 906 } // namespace v8 |
900 | 907 |
901 | 908 |
902 #if V8_TARGET_ARCH_ARM64 | 909 #if V8_TARGET_ARCH_ARM64 |
903 #include "src/arm64/interface-descriptors-arm64.h" | 910 #include "src/arm64/interface-descriptors-arm64.h" |
904 #elif V8_TARGET_ARCH_ARM | 911 #elif V8_TARGET_ARCH_ARM |
905 #include "src/arm/interface-descriptors-arm.h" | 912 #include "src/arm/interface-descriptors-arm.h" |
906 #endif | 913 #endif |
907 | 914 |
908 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 915 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |