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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 V(StringAdd) \ | 54 V(StringAdd) \ |
55 V(StringCompare) \ | 55 V(StringCompare) \ |
56 V(Keyed) \ | 56 V(Keyed) \ |
57 V(Named) \ | 57 V(Named) \ |
58 V(CallHandler) \ | 58 V(CallHandler) \ |
59 V(ArgumentAdaptor) \ | 59 V(ArgumentAdaptor) \ |
60 V(ApiFunction) \ | 60 V(ApiFunction) \ |
61 V(ApiAccessor) \ | 61 V(ApiAccessor) \ |
62 V(ApiGetter) \ | 62 V(ApiGetter) \ |
63 V(ArgumentsAccessRead) \ | 63 V(ArgumentsAccessRead) \ |
| 64 V(ArgumentsAccessNew) \ |
64 V(StoreArrayLiteralElement) \ | 65 V(StoreArrayLiteralElement) \ |
65 V(LoadGlobalViaContext) \ | 66 V(LoadGlobalViaContext) \ |
66 V(StoreGlobalViaContext) \ | 67 V(StoreGlobalViaContext) \ |
67 V(MathPowTagged) \ | 68 V(MathPowTagged) \ |
68 V(MathPowInteger) \ | 69 V(MathPowInteger) \ |
69 V(ContextOnly) \ | 70 V(ContextOnly) \ |
70 V(GrowArrayElements) \ | 71 V(GrowArrayElements) \ |
71 V(MathRoundVariantCallFromUnoptimizedCode) \ | 72 V(MathRoundVariantCallFromUnoptimizedCode) \ |
72 V(MathRoundVariantCallFromOptimizedCode) | 73 V(MathRoundVariantCallFromOptimizedCode) |
73 | 74 |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 | 632 |
632 class ArgumentsAccessReadDescriptor : public CallInterfaceDescriptor { | 633 class ArgumentsAccessReadDescriptor : public CallInterfaceDescriptor { |
633 public: | 634 public: |
634 DECLARE_DESCRIPTOR(ArgumentsAccessReadDescriptor, CallInterfaceDescriptor) | 635 DECLARE_DESCRIPTOR(ArgumentsAccessReadDescriptor, CallInterfaceDescriptor) |
635 | 636 |
636 static const Register index(); | 637 static const Register index(); |
637 static const Register parameter_count(); | 638 static const Register parameter_count(); |
638 }; | 639 }; |
639 | 640 |
640 | 641 |
| 642 class ArgumentsAccessNewDescriptor : public CallInterfaceDescriptor { |
| 643 public: |
| 644 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ArgumentsAccessNewDescriptor, |
| 645 CallInterfaceDescriptor) |
| 646 |
| 647 static const Register function(); |
| 648 static const Register parameter_count(); |
| 649 static const Register parameter_pointer(); |
| 650 }; |
| 651 |
| 652 |
641 class StoreArrayLiteralElementDescriptor : public CallInterfaceDescriptor { | 653 class StoreArrayLiteralElementDescriptor : public CallInterfaceDescriptor { |
642 public: | 654 public: |
643 DECLARE_DESCRIPTOR(StoreArrayLiteralElementDescriptor, | 655 DECLARE_DESCRIPTOR(StoreArrayLiteralElementDescriptor, |
644 CallInterfaceDescriptor) | 656 CallInterfaceDescriptor) |
645 }; | 657 }; |
646 | 658 |
647 | 659 |
648 class MathPowTaggedDescriptor : public CallInterfaceDescriptor { | 660 class MathPowTaggedDescriptor : public CallInterfaceDescriptor { |
649 public: | 661 public: |
650 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor) | 662 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor) |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 } // namespace v8::internal | 724 } // namespace v8::internal |
713 | 725 |
714 | 726 |
715 #if V8_TARGET_ARCH_ARM64 | 727 #if V8_TARGET_ARCH_ARM64 |
716 #include "src/arm64/interface-descriptors-arm64.h" | 728 #include "src/arm64/interface-descriptors-arm64.h" |
717 #elif V8_TARGET_ARCH_ARM | 729 #elif V8_TARGET_ARCH_ARM |
718 #include "src/arm/interface-descriptors-arm.h" | 730 #include "src/arm/interface-descriptors-arm.h" |
719 #endif | 731 #endif |
720 | 732 |
721 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 733 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |