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 "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 V(AllocateUint8x16) \ | 59 V(AllocateUint8x16) \ |
60 V(AllocateBool8x16) \ | 60 V(AllocateBool8x16) \ |
61 V(Allocate) \ | 61 V(Allocate) \ |
62 V(ArrayConstructorConstantArgCount) \ | 62 V(ArrayConstructorConstantArgCount) \ |
63 V(ArrayConstructor) \ | 63 V(ArrayConstructor) \ |
64 V(InternalArrayConstructorConstantArgCount) \ | 64 V(InternalArrayConstructorConstantArgCount) \ |
65 V(InternalArrayConstructor) \ | 65 V(InternalArrayConstructor) \ |
66 V(Compare) \ | 66 V(Compare) \ |
67 V(BinaryOp) \ | 67 V(BinaryOp) \ |
68 V(BinaryOpWithAllocationSite) \ | 68 V(BinaryOpWithAllocationSite) \ |
| 69 V(CountOp) \ |
69 V(StringAdd) \ | 70 V(StringAdd) \ |
70 V(StringCompare) \ | 71 V(StringCompare) \ |
71 V(Keyed) \ | 72 V(Keyed) \ |
72 V(Named) \ | 73 V(Named) \ |
73 V(CallHandler) \ | 74 V(CallHandler) \ |
74 V(ArgumentAdaptor) \ | 75 V(ArgumentAdaptor) \ |
75 V(ApiCallbackWith0Args) \ | 76 V(ApiCallbackWith0Args) \ |
76 V(ApiCallbackWith1Args) \ | 77 V(ApiCallbackWith1Args) \ |
77 V(ApiCallbackWith2Args) \ | 78 V(ApiCallbackWith2Args) \ |
78 V(ApiCallbackWith3Args) \ | 79 V(ApiCallbackWith3Args) \ |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 DECLARE_DESCRIPTOR(BinaryOpDescriptor, CallInterfaceDescriptor) | 625 DECLARE_DESCRIPTOR(BinaryOpDescriptor, CallInterfaceDescriptor) |
625 }; | 626 }; |
626 | 627 |
627 | 628 |
628 class BinaryOpWithAllocationSiteDescriptor : public CallInterfaceDescriptor { | 629 class BinaryOpWithAllocationSiteDescriptor : public CallInterfaceDescriptor { |
629 public: | 630 public: |
630 DECLARE_DESCRIPTOR(BinaryOpWithAllocationSiteDescriptor, | 631 DECLARE_DESCRIPTOR(BinaryOpWithAllocationSiteDescriptor, |
631 CallInterfaceDescriptor) | 632 CallInterfaceDescriptor) |
632 }; | 633 }; |
633 | 634 |
| 635 class CountOpDescriptor final : public CallInterfaceDescriptor { |
| 636 public: |
| 637 DECLARE_DESCRIPTOR(CountOpDescriptor, CallInterfaceDescriptor) |
| 638 }; |
634 | 639 |
635 class StringAddDescriptor : public CallInterfaceDescriptor { | 640 class StringAddDescriptor : public CallInterfaceDescriptor { |
636 public: | 641 public: |
637 DECLARE_DESCRIPTOR(StringAddDescriptor, CallInterfaceDescriptor) | 642 DECLARE_DESCRIPTOR(StringAddDescriptor, CallInterfaceDescriptor) |
638 }; | 643 }; |
639 | 644 |
640 | 645 |
641 class StringCompareDescriptor : public CallInterfaceDescriptor { | 646 class StringCompareDescriptor : public CallInterfaceDescriptor { |
642 public: | 647 public: |
643 DECLARE_DESCRIPTOR(StringCompareDescriptor, CallInterfaceDescriptor) | 648 DECLARE_DESCRIPTOR(StringCompareDescriptor, CallInterfaceDescriptor) |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 } // namespace v8 | 847 } // namespace v8 |
843 | 848 |
844 | 849 |
845 #if V8_TARGET_ARCH_ARM64 | 850 #if V8_TARGET_ARCH_ARM64 |
846 #include "src/arm64/interface-descriptors-arm64.h" | 851 #include "src/arm64/interface-descriptors-arm64.h" |
847 #elif V8_TARGET_ARCH_ARM | 852 #elif V8_TARGET_ARCH_ARM |
848 #include "src/arm/interface-descriptors-arm.h" | 853 #include "src/arm/interface-descriptors-arm.h" |
849 #endif | 854 #endif |
850 | 855 |
851 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 856 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |