OLD | NEW |
1 //===- subzero/crosstest/test_calling_conv.def - testing macros -*- C++ -*-===// | 1 //===- subzero/crosstest/test_calling_conv.def - testing macros -*- C++ -*-===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // This file defines macros for testing the calling convention. | 10 // This file defines macros for testing the calling convention. |
11 // | 11 // |
12 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
13 | 13 |
14 #ifndef TEST_CALLING_CONV_DEF | 14 #ifndef TEST_CALLING_CONV_DEF |
15 #define TEST_CALLING_CONV_DEF | 15 #define TEST_CALLING_CONV_DEF |
16 | 16 |
17 #define STR(x) (#x) | 17 #define STR(x) (#x) |
18 | 18 |
19 #define TEST_FUNC_TABLE \ | 19 #define TEST_FUNC_TABLE \ |
20 /* caller, callee, argc */ \ | 20 /* caller, callee, argc */ \ |
21 X(caller_i, callee_i, 1) \ | 21 X(caller_i, callee_i, 1) \ |
22 X(caller_vvvvv, callee_vvvvv, 5) \ | 22 X(caller_vvvvv, callee_vvvvv, 5) \ |
23 X(caller_vlvlivfvdviv, callee_vlvlivfvdviv, 12) \ | 23 X(caller_vlvilvfvdviv, callee_vlvilvfvdviv, 12) \ |
24 // #define X(caller, callee, argc) | 24 // #define X(caller, callee, argc) |
25 | 25 |
26 #endif // TEST_CALLING_CONV_DEF | 26 #endif // TEST_CALLING_CONV_DEF |
OLD | NEW |