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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 SIMD128_TYPES(SIMD128_ALLOC_DESC) | 611 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
612 #undef SIMD128_ALLOC_DESC | 612 #undef SIMD128_ALLOC_DESC |
613 | 613 |
614 class BuiltinDescriptor : public CallInterfaceDescriptor { | 614 class BuiltinDescriptor : public CallInterfaceDescriptor { |
615 public: | 615 public: |
616 DEFINE_PARAMETERS(kNewTarget, kArgumentsCount) | 616 DEFINE_PARAMETERS(kNewTarget, kArgumentsCount) |
617 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(BuiltinDescriptor, | 617 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(BuiltinDescriptor, |
618 CallInterfaceDescriptor) | 618 CallInterfaceDescriptor) |
619 static const Register ArgumentsCountRegister(); | 619 static const Register ArgumentsCountRegister(); |
620 static const Register NewTargetRegister(); | 620 static const Register NewTargetRegister(); |
| 621 static const Register TargetRegister(); |
621 }; | 622 }; |
622 | 623 |
623 class ArrayNoArgumentConstructorDescriptor : public CallInterfaceDescriptor { | 624 class ArrayNoArgumentConstructorDescriptor : public CallInterfaceDescriptor { |
624 public: | 625 public: |
625 DEFINE_PARAMETERS(kFunction, kAllocationSite, kActualArgumentsCount, | 626 DEFINE_PARAMETERS(kFunction, kAllocationSite, kActualArgumentsCount, |
626 kFunctionParameter) | 627 kFunctionParameter) |
627 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( | 628 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
628 ArrayNoArgumentConstructorDescriptor, CallInterfaceDescriptor) | 629 ArrayNoArgumentConstructorDescriptor, CallInterfaceDescriptor) |
629 }; | 630 }; |
630 | 631 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 } // namespace v8 | 842 } // namespace v8 |
842 | 843 |
843 | 844 |
844 #if V8_TARGET_ARCH_ARM64 | 845 #if V8_TARGET_ARCH_ARM64 |
845 #include "src/arm64/interface-descriptors-arm64.h" | 846 #include "src/arm64/interface-descriptors-arm64.h" |
846 #elif V8_TARGET_ARCH_ARM | 847 #elif V8_TARGET_ARCH_ARM |
847 #include "src/arm/interface-descriptors-arm.h" | 848 #include "src/arm/interface-descriptors-arm.h" |
848 #endif | 849 #endif |
849 | 850 |
850 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 851 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |