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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 V(AllocateBool16x8) \ | 67 V(AllocateBool16x8) \ |
68 V(AllocateInt8x16) \ | 68 V(AllocateInt8x16) \ |
69 V(AllocateUint8x16) \ | 69 V(AllocateUint8x16) \ |
70 V(AllocateBool8x16) \ | 70 V(AllocateBool8x16) \ |
71 V(ArrayNoArgumentConstructor) \ | 71 V(ArrayNoArgumentConstructor) \ |
72 V(ArraySingleArgumentConstructor) \ | 72 V(ArraySingleArgumentConstructor) \ |
73 V(ArrayNArgumentsConstructor) \ | 73 V(ArrayNArgumentsConstructor) \ |
74 V(Compare) \ | 74 V(Compare) \ |
75 V(BinaryOp) \ | 75 V(BinaryOp) \ |
76 V(BinaryOpWithAllocationSite) \ | 76 V(BinaryOpWithAllocationSite) \ |
| 77 V(BinaryOpWithVector) \ |
77 V(CountOp) \ | 78 V(CountOp) \ |
78 V(StringAdd) \ | 79 V(StringAdd) \ |
79 V(StringCompare) \ | 80 V(StringCompare) \ |
80 V(Keyed) \ | 81 V(Keyed) \ |
81 V(Named) \ | 82 V(Named) \ |
82 V(HasProperty) \ | 83 V(HasProperty) \ |
83 V(ForInFilter) \ | 84 V(ForInFilter) \ |
84 V(GetProperty) \ | 85 V(GetProperty) \ |
85 V(CallHandler) \ | 86 V(CallHandler) \ |
86 V(ArgumentAdaptor) \ | 87 V(ArgumentAdaptor) \ |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 }; | 716 }; |
716 | 717 |
717 | 718 |
718 class BinaryOpWithAllocationSiteDescriptor : public CallInterfaceDescriptor { | 719 class BinaryOpWithAllocationSiteDescriptor : public CallInterfaceDescriptor { |
719 public: | 720 public: |
720 DEFINE_PARAMETERS(kAllocationSite, kLeft, kRight) | 721 DEFINE_PARAMETERS(kAllocationSite, kLeft, kRight) |
721 DECLARE_DESCRIPTOR(BinaryOpWithAllocationSiteDescriptor, | 722 DECLARE_DESCRIPTOR(BinaryOpWithAllocationSiteDescriptor, |
722 CallInterfaceDescriptor) | 723 CallInterfaceDescriptor) |
723 }; | 724 }; |
724 | 725 |
| 726 class BinaryOpWithVectorDescriptor : public CallInterfaceDescriptor { |
| 727 public: |
| 728 DEFINE_PARAMETERS(kLeft, kRight, kSlot, kVector) |
| 729 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(BinaryOpWithVectorDescriptor, |
| 730 CallInterfaceDescriptor) |
| 731 }; |
| 732 |
725 class CountOpDescriptor final : public CallInterfaceDescriptor { | 733 class CountOpDescriptor final : public CallInterfaceDescriptor { |
726 public: | 734 public: |
727 DECLARE_DESCRIPTOR(CountOpDescriptor, CallInterfaceDescriptor) | 735 DECLARE_DESCRIPTOR(CountOpDescriptor, CallInterfaceDescriptor) |
728 }; | 736 }; |
729 | 737 |
730 class StringAddDescriptor : public CallInterfaceDescriptor { | 738 class StringAddDescriptor : public CallInterfaceDescriptor { |
731 public: | 739 public: |
732 DEFINE_PARAMETERS(kLeft, kRight) | 740 DEFINE_PARAMETERS(kLeft, kRight) |
733 DECLARE_DESCRIPTOR(StringAddDescriptor, CallInterfaceDescriptor) | 741 DECLARE_DESCRIPTOR(StringAddDescriptor, CallInterfaceDescriptor) |
734 }; | 742 }; |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 } // namespace v8 | 943 } // namespace v8 |
936 | 944 |
937 | 945 |
938 #if V8_TARGET_ARCH_ARM64 | 946 #if V8_TARGET_ARCH_ARM64 |
939 #include "src/arm64/interface-descriptors-arm64.h" | 947 #include "src/arm64/interface-descriptors-arm64.h" |
940 #elif V8_TARGET_ARCH_ARM | 948 #elif V8_TARGET_ARCH_ARM |
941 #include "src/arm/interface-descriptors-arm.h" | 949 #include "src/arm/interface-descriptors-arm.h" |
942 #endif | 950 #endif |
943 | 951 |
944 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 952 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |