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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 public: | 546 public: |
547 DEFINE_PARAMETERS(kFunction, kSlot) | 547 DEFINE_PARAMETERS(kFunction, kSlot) |
548 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( | 548 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
549 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor) | 549 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor) |
550 }; | 550 }; |
551 | 551 |
552 | 552 |
553 class CallFunctionWithFeedbackAndVectorDescriptor | 553 class CallFunctionWithFeedbackAndVectorDescriptor |
554 : public CallInterfaceDescriptor { | 554 : public CallInterfaceDescriptor { |
555 public: | 555 public: |
556 DEFINE_PARAMETERS(kFunction, kSlot, kVector) | 556 DEFINE_PARAMETERS(kFunction, kActualArgumentsCount, kSlot, kVector) |
557 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( | 557 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
558 CallFunctionWithFeedbackAndVectorDescriptor, CallInterfaceDescriptor) | 558 CallFunctionWithFeedbackAndVectorDescriptor, CallInterfaceDescriptor) |
559 }; | 559 }; |
560 | 560 |
561 | 561 |
562 class CallConstructDescriptor : public CallInterfaceDescriptor { | 562 class CallConstructDescriptor : public CallInterfaceDescriptor { |
563 public: | 563 public: |
564 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) | 564 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) |
565 }; | 565 }; |
566 | 566 |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 } // namespace v8 | 835 } // namespace v8 |
836 | 836 |
837 | 837 |
838 #if V8_TARGET_ARCH_ARM64 | 838 #if V8_TARGET_ARCH_ARM64 |
839 #include "src/arm64/interface-descriptors-arm64.h" | 839 #include "src/arm64/interface-descriptors-arm64.h" |
840 #elif V8_TARGET_ARCH_ARM | 840 #elif V8_TARGET_ARCH_ARM |
841 #include "src/arm/interface-descriptors-arm.h" | 841 #include "src/arm/interface-descriptors-arm.h" |
842 #endif | 842 #endif |
843 | 843 |
844 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 844 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |