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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 public: | 882 public: |
883 DEFINE_PARAMETERS(kObject, kKey) | 883 DEFINE_PARAMETERS(kObject, kKey) |
884 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) | 884 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) |
885 | 885 |
886 static const Register ObjectRegister(); | 886 static const Register ObjectRegister(); |
887 static const Register KeyRegister(); | 887 static const Register KeyRegister(); |
888 }; | 888 }; |
889 | 889 |
890 class NewArgumentsElementsDescriptor final : public CallInterfaceDescriptor { | 890 class NewArgumentsElementsDescriptor final : public CallInterfaceDescriptor { |
891 public: | 891 public: |
892 DEFINE_PARAMETERS(kFormalParameterCount) | 892 DEFINE_PARAMETERS(kFrame, kLength) |
893 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(NewArgumentsElementsDescriptor, | 893 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(NewArgumentsElementsDescriptor, |
894 CallInterfaceDescriptor) | 894 CallInterfaceDescriptor) |
895 }; | 895 }; |
896 | 896 |
897 class V8_EXPORT_PRIVATE InterpreterDispatchDescriptor | 897 class V8_EXPORT_PRIVATE InterpreterDispatchDescriptor |
898 : public CallInterfaceDescriptor { | 898 : public CallInterfaceDescriptor { |
899 public: | 899 public: |
900 DEFINE_PARAMETERS(kAccumulator, kBytecodeOffset, kBytecodeArray, | 900 DEFINE_PARAMETERS(kAccumulator, kBytecodeOffset, kBytecodeArray, |
901 kDispatchTable) | 901 kDispatchTable) |
902 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor, | 902 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 } // namespace v8 | 975 } // namespace v8 |
976 | 976 |
977 | 977 |
978 #if V8_TARGET_ARCH_ARM64 | 978 #if V8_TARGET_ARCH_ARM64 |
979 #include "src/arm64/interface-descriptors-arm64.h" | 979 #include "src/arm64/interface-descriptors-arm64.h" |
980 #elif V8_TARGET_ARCH_ARM | 980 #elif V8_TARGET_ARCH_ARM |
981 #include "src/arm/interface-descriptors-arm.h" | 981 #include "src/arm/interface-descriptors-arm.h" |
982 #endif | 982 #endif |
983 | 983 |
984 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 984 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |