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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 | 713 |
714 #undef DECLARE_DESCRIPTOR | 714 #undef DECLARE_DESCRIPTOR |
715 | 715 |
716 | 716 |
717 // We define the association between CallDescriptors::Key and the specialized | 717 // We define the association between CallDescriptors::Key and the specialized |
718 // descriptor here to reduce boilerplate and mistakes. | 718 // descriptor here to reduce boilerplate and mistakes. |
719 #define DEF_KEY(name) \ | 719 #define DEF_KEY(name) \ |
720 CallDescriptors::Key name##Descriptor::key() { return CallDescriptors::name; } | 720 CallDescriptors::Key name##Descriptor::key() { return CallDescriptors::name; } |
721 INTERFACE_DESCRIPTOR_LIST(DEF_KEY) | 721 INTERFACE_DESCRIPTOR_LIST(DEF_KEY) |
722 #undef DEF_KEY | 722 #undef DEF_KEY |
723 } | 723 } // namespace internal |
724 } // namespace v8::internal | 724 } // namespace v8 |
725 | 725 |
726 | 726 |
727 #if V8_TARGET_ARCH_ARM64 | 727 #if V8_TARGET_ARCH_ARM64 |
728 #include "src/arm64/interface-descriptors-arm64.h" | 728 #include "src/arm64/interface-descriptors-arm64.h" |
729 #elif V8_TARGET_ARCH_ARM | 729 #elif V8_TARGET_ARCH_ARM |
730 #include "src/arm/interface-descriptors-arm.h" | 730 #include "src/arm/interface-descriptors-arm.h" |
731 #endif | 731 #endif |
732 | 732 |
733 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 733 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |