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