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