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 29 matching lines...) Expand all Loading... |
40 V(CallFunction) \ | 40 V(CallFunction) \ |
41 V(CallFunctionWithFeedback) \ | 41 V(CallFunctionWithFeedback) \ |
42 V(CallFunctionWithFeedbackAndVector) \ | 42 V(CallFunctionWithFeedbackAndVector) \ |
43 V(CallConstruct) \ | 43 V(CallConstruct) \ |
44 V(CallTrampoline) \ | 44 V(CallTrampoline) \ |
45 V(ConstructStub) \ | 45 V(ConstructStub) \ |
46 V(ConstructTrampoline) \ | 46 V(ConstructTrampoline) \ |
47 V(RegExpConstructResult) \ | 47 V(RegExpConstructResult) \ |
48 V(TransitionElementsKind) \ | 48 V(TransitionElementsKind) \ |
49 V(AllocateHeapNumber) \ | 49 V(AllocateHeapNumber) \ |
50 V(AllocateMutableHeapNumber) \ | |
51 V(AllocateFloat32x4) \ | 50 V(AllocateFloat32x4) \ |
52 V(AllocateInt32x4) \ | 51 V(AllocateInt32x4) \ |
53 V(AllocateUint32x4) \ | 52 V(AllocateUint32x4) \ |
54 V(AllocateBool32x4) \ | 53 V(AllocateBool32x4) \ |
55 V(AllocateInt16x8) \ | 54 V(AllocateInt16x8) \ |
56 V(AllocateUint16x8) \ | 55 V(AllocateUint16x8) \ |
57 V(AllocateBool16x8) \ | 56 V(AllocateBool16x8) \ |
58 V(AllocateInt8x16) \ | 57 V(AllocateInt8x16) \ |
59 V(AllocateUint8x16) \ | 58 V(AllocateUint8x16) \ |
60 V(AllocateBool8x16) \ | 59 V(AllocateBool8x16) \ |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 }; | 574 }; |
576 | 575 |
577 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ | 576 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
578 class Allocate##Type##Descriptor : public CallInterfaceDescriptor { \ | 577 class Allocate##Type##Descriptor : public CallInterfaceDescriptor { \ |
579 public: \ | 578 public: \ |
580 DECLARE_DESCRIPTOR(Allocate##Type##Descriptor, CallInterfaceDescriptor) \ | 579 DECLARE_DESCRIPTOR(Allocate##Type##Descriptor, CallInterfaceDescriptor) \ |
581 }; | 580 }; |
582 SIMD128_TYPES(SIMD128_ALLOC_DESC) | 581 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
583 #undef SIMD128_ALLOC_DESC | 582 #undef SIMD128_ALLOC_DESC |
584 | 583 |
585 class AllocateMutableHeapNumberDescriptor : public CallInterfaceDescriptor { | |
586 public: | |
587 DECLARE_DESCRIPTOR(AllocateMutableHeapNumberDescriptor, | |
588 CallInterfaceDescriptor) | |
589 }; | |
590 | |
591 class ArrayNoArgumentConstructorDescriptor : public CallInterfaceDescriptor { | 584 class ArrayNoArgumentConstructorDescriptor : public CallInterfaceDescriptor { |
592 public: | 585 public: |
593 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( | 586 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
594 ArrayNoArgumentConstructorDescriptor, CallInterfaceDescriptor) | 587 ArrayNoArgumentConstructorDescriptor, CallInterfaceDescriptor) |
595 enum ParameterIndices { | 588 enum ParameterIndices { |
596 kFunctionIndex, | 589 kFunctionIndex, |
597 kAllocationSiteIndex, | 590 kAllocationSiteIndex, |
598 kArgumentCountIndex, | 591 kArgumentCountIndex, |
599 kContextIndex | 592 kContextIndex |
600 }; | 593 }; |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 } // namespace v8 | 855 } // namespace v8 |
863 | 856 |
864 | 857 |
865 #if V8_TARGET_ARCH_ARM64 | 858 #if V8_TARGET_ARCH_ARM64 |
866 #include "src/arm64/interface-descriptors-arm64.h" | 859 #include "src/arm64/interface-descriptors-arm64.h" |
867 #elif V8_TARGET_ARCH_ARM | 860 #elif V8_TARGET_ARCH_ARM |
868 #include "src/arm/interface-descriptors-arm.h" | 861 #include "src/arm/interface-descriptors-arm.h" |
869 #endif | 862 #endif |
870 | 863 |
871 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 864 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |