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