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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 | 740 |
741 class ApiCallbackWith7ArgsDescriptor : public ApiCallbackDescriptorBase { | 741 class ApiCallbackWith7ArgsDescriptor : public ApiCallbackDescriptorBase { |
742 public: | 742 public: |
743 DECLARE_DESCRIPTOR_WITH_BASE_AND_FUNCTION_TYPE_ARG( | 743 DECLARE_DESCRIPTOR_WITH_BASE_AND_FUNCTION_TYPE_ARG( |
744 ApiCallbackWith7ArgsDescriptor, ApiCallbackDescriptorBase, 7) | 744 ApiCallbackWith7ArgsDescriptor, ApiCallbackDescriptorBase, 7) |
745 }; | 745 }; |
746 | 746 |
747 | 747 |
748 class ApiGetterDescriptor : public CallInterfaceDescriptor { | 748 class ApiGetterDescriptor : public CallInterfaceDescriptor { |
749 public: | 749 public: |
750 DECLARE_DESCRIPTOR(ApiGetterDescriptor, CallInterfaceDescriptor) | 750 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ApiGetterDescriptor, |
| 751 CallInterfaceDescriptor) |
751 | 752 |
752 static const Register ReceiverRegister(); | 753 static const Register function_address(); |
753 static const Register HolderRegister(); | |
754 static const Register CallbackRegister(); | |
755 }; | 754 }; |
756 | 755 |
757 | 756 |
758 class MathPowTaggedDescriptor : public CallInterfaceDescriptor { | 757 class MathPowTaggedDescriptor : public CallInterfaceDescriptor { |
759 public: | 758 public: |
760 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor) | 759 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor) |
761 | 760 |
762 static const Register exponent(); | 761 static const Register exponent(); |
763 }; | 762 }; |
764 | 763 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 } // namespace v8 | 848 } // namespace v8 |
850 | 849 |
851 | 850 |
852 #if V8_TARGET_ARCH_ARM64 | 851 #if V8_TARGET_ARCH_ARM64 |
853 #include "src/arm64/interface-descriptors-arm64.h" | 852 #include "src/arm64/interface-descriptors-arm64.h" |
854 #elif V8_TARGET_ARCH_ARM | 853 #elif V8_TARGET_ARCH_ARM |
855 #include "src/arm/interface-descriptors-arm.h" | 854 #include "src/arm/interface-descriptors-arm.h" |
856 #endif | 855 #endif |
857 | 856 |
858 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 857 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |