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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 V(CreateAllocationSite) \ | 48 V(CreateAllocationSite) \ |
49 V(CreateWeakCell) \ | 49 V(CreateWeakCell) \ |
50 V(CallFunction) \ | 50 V(CallFunction) \ |
51 V(CallFunctionWithFeedback) \ | 51 V(CallFunctionWithFeedback) \ |
52 V(CallFunctionWithFeedbackAndVector) \ | 52 V(CallFunctionWithFeedbackAndVector) \ |
53 V(CallConstruct) \ | 53 V(CallConstruct) \ |
54 V(CallTrampoline) \ | 54 V(CallTrampoline) \ |
55 V(ConstructStub) \ | 55 V(ConstructStub) \ |
56 V(ConstructTrampoline) \ | 56 V(ConstructTrampoline) \ |
57 V(RegExpConstructResult) \ | 57 V(RegExpConstructResult) \ |
58 V(CopyFixedArray) \ | |
59 V(TransitionElementsKind) \ | 58 V(TransitionElementsKind) \ |
60 V(AllocateHeapNumber) \ | 59 V(AllocateHeapNumber) \ |
61 V(AllocateFloat32x4) \ | 60 V(AllocateFloat32x4) \ |
62 V(AllocateInt32x4) \ | 61 V(AllocateInt32x4) \ |
63 V(AllocateUint32x4) \ | 62 V(AllocateUint32x4) \ |
64 V(AllocateBool32x4) \ | 63 V(AllocateBool32x4) \ |
65 V(AllocateInt16x8) \ | 64 V(AllocateInt16x8) \ |
66 V(AllocateUint16x8) \ | 65 V(AllocateUint16x8) \ |
67 V(AllocateBool16x8) \ | 66 V(AllocateBool16x8) \ |
68 V(AllocateInt8x16) \ | 67 V(AllocateInt8x16) \ |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor { | 641 class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor { |
643 public: | 642 public: |
644 DEFINE_PARAMETERS(kSlot, kValue) | 643 DEFINE_PARAMETERS(kSlot, kValue) |
645 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor, | 644 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor, |
646 CallInterfaceDescriptor) | 645 CallInterfaceDescriptor) |
647 | 646 |
648 static const Register SlotRegister(); | 647 static const Register SlotRegister(); |
649 static const Register ValueRegister(); | 648 static const Register ValueRegister(); |
650 }; | 649 }; |
651 | 650 |
652 class CopyFixedArrayDescriptor : public CallInterfaceDescriptor { | |
653 public: | |
654 DEFINE_PARAMETERS(kSource) | |
655 DECLARE_DEFAULT_DESCRIPTOR(CopyFixedArrayDescriptor, CallInterfaceDescriptor, | |
656 kParameterCount) | |
657 }; | |
658 | 651 |
659 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { | 652 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { |
660 public: | 653 public: |
661 DEFINE_PARAMETERS(kObject, kMap) | 654 DEFINE_PARAMETERS(kObject, kMap) |
662 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) | 655 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) |
663 }; | 656 }; |
664 | 657 |
665 | 658 |
666 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor { | 659 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor { |
667 public: | 660 public: |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 } // namespace v8 | 927 } // namespace v8 |
935 | 928 |
936 | 929 |
937 #if V8_TARGET_ARCH_ARM64 | 930 #if V8_TARGET_ARCH_ARM64 |
938 #include "src/arm64/interface-descriptors-arm64.h" | 931 #include "src/arm64/interface-descriptors-arm64.h" |
939 #elif V8_TARGET_ARCH_ARM | 932 #elif V8_TARGET_ARCH_ARM |
940 #include "src/arm/interface-descriptors-arm.h" | 933 #include "src/arm/interface-descriptors-arm.h" |
941 #endif | 934 #endif |
942 | 935 |
943 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 936 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |