Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1309)

Unified Diff: crosstest/test_calling_conv.def

Issue 444443002: Subzero: Align the stack at the point of function calls. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Comments round 2 Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..9645ee93b52accd73c7c5920d2cb90ffb2e582bc
--- /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(caller, callee, argc)
+
+#endif // TEST_CALLING_CONV_DEF

Powered by Google App Engine
This is Rietveld 408576698