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