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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 V(CreateAllocationSite) \ | 42 V(CreateAllocationSite) \ |
43 V(CreateWeakCell) \ | 43 V(CreateWeakCell) \ |
44 V(CallFunction) \ | 44 V(CallFunction) \ |
45 V(CallFunctionWithFeedback) \ | 45 V(CallFunctionWithFeedback) \ |
46 V(CallFunctionWithFeedbackAndVector) \ | 46 V(CallFunctionWithFeedbackAndVector) \ |
47 V(CallConstruct) \ | 47 V(CallConstruct) \ |
48 V(CallTrampoline) \ | 48 V(CallTrampoline) \ |
49 V(ConstructStub) \ | 49 V(ConstructStub) \ |
50 V(ConstructTrampoline) \ | 50 V(ConstructTrampoline) \ |
51 V(RegExpExec) \ | 51 V(RegExpExec) \ |
52 V(RegExpConstructResult) \ | |
53 V(CopyFastSmiOrObjectElements) \ | 52 V(CopyFastSmiOrObjectElements) \ |
54 V(TransitionElementsKind) \ | 53 V(TransitionElementsKind) \ |
55 V(AllocateHeapNumber) \ | 54 V(AllocateHeapNumber) \ |
56 V(AllocateFloat32x4) \ | 55 V(AllocateFloat32x4) \ |
57 V(AllocateInt32x4) \ | 56 V(AllocateInt32x4) \ |
58 V(AllocateUint32x4) \ | 57 V(AllocateUint32x4) \ |
59 V(AllocateBool32x4) \ | 58 V(AllocateBool32x4) \ |
60 V(AllocateInt16x8) \ | 59 V(AllocateInt16x8) \ |
61 V(AllocateUint16x8) \ | 60 V(AllocateUint16x8) \ |
62 V(AllocateBool16x8) \ | 61 V(AllocateBool16x8) \ |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) | 563 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) |
565 }; | 564 }; |
566 | 565 |
567 class RegExpExecDescriptor : public CallInterfaceDescriptor { | 566 class RegExpExecDescriptor : public CallInterfaceDescriptor { |
568 public: | 567 public: |
569 DEFINE_PARAMETERS(kRegExpObject, kString, kPreviousIndex, kLastMatchInfo) | 568 DEFINE_PARAMETERS(kRegExpObject, kString, kPreviousIndex, kLastMatchInfo) |
570 DECLARE_DESCRIPTOR_WITH_STACK_ARGS(RegExpExecDescriptor, | 569 DECLARE_DESCRIPTOR_WITH_STACK_ARGS(RegExpExecDescriptor, |
571 CallInterfaceDescriptor) | 570 CallInterfaceDescriptor) |
572 }; | 571 }; |
573 | 572 |
574 class RegExpConstructResultDescriptor : public CallInterfaceDescriptor { | |
575 public: | |
576 DEFINE_PARAMETERS(kLength, kIndex, kInput) | |
577 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor) | |
578 }; | |
579 | |
580 class CopyFastSmiOrObjectElementsDescriptor : public CallInterfaceDescriptor { | 573 class CopyFastSmiOrObjectElementsDescriptor : public CallInterfaceDescriptor { |
581 public: | 574 public: |
582 DEFINE_PARAMETERS(kObject) | 575 DEFINE_PARAMETERS(kObject) |
583 DECLARE_DEFAULT_DESCRIPTOR(CopyFastSmiOrObjectElementsDescriptor, | 576 DECLARE_DEFAULT_DESCRIPTOR(CopyFastSmiOrObjectElementsDescriptor, |
584 CallInterfaceDescriptor, kParameterCount) | 577 CallInterfaceDescriptor, kParameterCount) |
585 }; | 578 }; |
586 | 579 |
587 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { | 580 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { |
588 public: | 581 public: |
589 DEFINE_PARAMETERS(kObject, kMap) | 582 DEFINE_PARAMETERS(kObject, kMap) |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 } // namespace v8 | 817 } // namespace v8 |
825 | 818 |
826 | 819 |
827 #if V8_TARGET_ARCH_ARM64 | 820 #if V8_TARGET_ARCH_ARM64 |
828 #include "src/arm64/interface-descriptors-arm64.h" | 821 #include "src/arm64/interface-descriptors-arm64.h" |
829 #elif V8_TARGET_ARCH_ARM | 822 #elif V8_TARGET_ARCH_ARM |
830 #include "src/arm/interface-descriptors-arm.h" | 823 #include "src/arm/interface-descriptors-arm.h" |
831 #endif | 824 #endif |
832 | 825 |
833 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 826 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |