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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 | 588 |
589 | 589 |
590 class CallFunctionDescriptor : public CallInterfaceDescriptor { | 590 class CallFunctionDescriptor : public CallInterfaceDescriptor { |
591 public: | 591 public: |
592 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor) | 592 DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor) |
593 }; | 593 }; |
594 | 594 |
595 | 595 |
596 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor { | 596 class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor { |
597 public: | 597 public: |
598 DEFINE_PARAMETERS(kFunction, kSlot) | 598 DEFINE_PARAMETERS(kFunction, kActualArgumentsCount, kSlot) |
599 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( | 599 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
600 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor) | 600 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor) |
601 }; | 601 }; |
602 | 602 |
603 | 603 |
604 class CallFunctionWithFeedbackAndVectorDescriptor | 604 class CallFunctionWithFeedbackAndVectorDescriptor |
605 : public CallInterfaceDescriptor { | 605 : public CallInterfaceDescriptor { |
606 public: | 606 public: |
607 DEFINE_PARAMETERS(kFunction, kActualArgumentsCount, kSlot, kVector) | 607 DEFINE_PARAMETERS(kFunction, kActualArgumentsCount, kSlot, kVector) |
608 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( | 608 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 } // namespace v8 | 920 } // namespace v8 |
921 | 921 |
922 | 922 |
923 #if V8_TARGET_ARCH_ARM64 | 923 #if V8_TARGET_ARCH_ARM64 |
924 #include "src/arm64/interface-descriptors-arm64.h" | 924 #include "src/arm64/interface-descriptors-arm64.h" |
925 #elif V8_TARGET_ARCH_ARM | 925 #elif V8_TARGET_ARCH_ARM |
926 #include "src/arm/interface-descriptors-arm.h" | 926 #include "src/arm/interface-descriptors-arm.h" |
927 #endif | 927 #endif |
928 | 928 |
929 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 929 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |