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