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(ArgumentAdaptor) \ | 54 V(ArgumentAdaptor) \ |
55 V(ApiFunction) \ | 55 V(ApiFunction) \ |
56 V(ApiAccessor) \ | 56 V(ApiAccessor) \ |
57 V(ApiGetter) \ | 57 V(ApiGetter) \ |
58 V(ArgumentsAccessRead) \ | 58 V(ArgumentsAccessRead) \ |
59 V(StoreArrayLiteralElement) \ | 59 V(StoreArrayLiteralElement) \ |
60 V(MathPowTagged) \ | 60 V(MathPowTagged) \ |
61 V(MathPowInteger) \ | 61 V(MathPowInteger) \ |
62 V(ContextOnly) \ | 62 V(ContextOnly) \ |
63 V(GrowArrayElements) \ | 63 V(GrowArrayElements) \ |
64 V(MathRoundVariantCallFromUnoptimizedCode) \ | 64 V(MathRoundVariant) |
65 V(MathRoundVariantCallFromOptimizedCode) | |
66 | 65 |
67 | 66 |
68 class CallInterfaceDescriptorData { | 67 class CallInterfaceDescriptorData { |
69 public: | 68 public: |
70 CallInterfaceDescriptorData() | 69 CallInterfaceDescriptorData() |
71 : stack_paramater_count_(-1), | 70 : stack_paramater_count_(-1), |
72 register_param_count_(-1), | 71 register_param_count_(-1), |
73 function_type_(nullptr) {} | 72 function_type_(nullptr) {} |
74 | 73 |
75 // A copy of the passed in registers and param_representations is made | 74 // A copy of the passed in registers and param_representations is made |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 | 577 |
579 | 578 |
580 class MathPowIntegerDescriptor : public CallInterfaceDescriptor { | 579 class MathPowIntegerDescriptor : public CallInterfaceDescriptor { |
581 public: | 580 public: |
582 DECLARE_DESCRIPTOR(MathPowIntegerDescriptor, CallInterfaceDescriptor) | 581 DECLARE_DESCRIPTOR(MathPowIntegerDescriptor, CallInterfaceDescriptor) |
583 | 582 |
584 static const Register exponent(); | 583 static const Register exponent(); |
585 }; | 584 }; |
586 | 585 |
587 | 586 |
588 class MathRoundVariantCallFromOptimizedCodeDescriptor | 587 class MathRoundVariantDescriptor : public CallInterfaceDescriptor { |
589 : public CallInterfaceDescriptor { | |
590 public: | 588 public: |
591 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( | 589 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(MathRoundVariantDescriptor, |
592 MathRoundVariantCallFromOptimizedCodeDescriptor, CallInterfaceDescriptor) | 590 CallInterfaceDescriptor) |
593 }; | 591 }; |
594 | 592 |
595 | 593 |
596 class MathRoundVariantCallFromUnoptimizedCodeDescriptor | |
597 : public CallInterfaceDescriptor { | |
598 public: | |
599 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( | |
600 MathRoundVariantCallFromUnoptimizedCodeDescriptor, | |
601 CallInterfaceDescriptor) | |
602 }; | |
603 | |
604 | |
605 class ContextOnlyDescriptor : public CallInterfaceDescriptor { | 594 class ContextOnlyDescriptor : public CallInterfaceDescriptor { |
606 public: | 595 public: |
607 DECLARE_DESCRIPTOR(ContextOnlyDescriptor, CallInterfaceDescriptor) | 596 DECLARE_DESCRIPTOR(ContextOnlyDescriptor, CallInterfaceDescriptor) |
608 }; | 597 }; |
609 | 598 |
610 | 599 |
611 class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { | 600 class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { |
612 public: | 601 public: |
613 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) | 602 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) |
614 | 603 |
(...skipping 15 matching lines...) Expand all Loading... |
630 } // namespace v8::internal | 619 } // namespace v8::internal |
631 | 620 |
632 | 621 |
633 #if V8_TARGET_ARCH_ARM64 | 622 #if V8_TARGET_ARCH_ARM64 |
634 #include "src/arm64/interface-descriptors-arm64.h" | 623 #include "src/arm64/interface-descriptors-arm64.h" |
635 #elif V8_TARGET_ARCH_ARM | 624 #elif V8_TARGET_ARCH_ARM |
636 #include "src/arm/interface-descriptors-arm.h" | 625 #include "src/arm/interface-descriptors-arm.h" |
637 #endif | 626 #endif |
638 | 627 |
639 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 628 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |