Index: crosstest/test_calling_conv.def |
diff --git a/crosstest/test_calling_conv.def b/crosstest/test_calling_conv.def |
new file mode 100644 |
index 0000000000000000000000000000000000000000..15b45389fd3ead3ee9e8643311f8ad66e45a2f9e |
--- /dev/null |
+++ b/crosstest/test_calling_conv.def |
@@ -0,0 +1,26 @@ |
+//===- subzero/crosstest/test_calling_conv.def - testing macros -*- C++ -*-===// |
+// |
+// The Subzero Code Generator |
+// |
+// This file is distributed under the University of Illinois Open Source |
+// License. See LICENSE.TXT for details. |
+// |
+//===----------------------------------------------------------------------===// |
+// |
+// This file defines macros for testing the calling convention. |
+// |
+//===----------------------------------------------------------------------===// |
+ |
+#ifndef TEST_CALLING_CONV_DEF |
+#define TEST_CALLING_CONV_DEF |
+ |
+#define STR(x) (#x) |
+ |
+#define TEST_FUNC_TABLE \ |
+/* caller, callee, argc */ \ |
+X(caller_i, callee_i, 1) \ |
+X(caller_vvvvv, callee_vvvvv, 5) \ |
+X(caller_vlvlvfvdviv, callee_vlvlvfvdviv, 11) \ |
+// #define X(callee, caller, argc) |
+ |
+#endif // TEST_CALLING_CONV_DEF |