summaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-22 14:59:57 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-22 14:59:57 +0000
commit39cf05d32217f624e4b2e70cde2b5d4a1e841c89 (patch)
tree33fc4cc335ec9f36e3b0f5993303a932988cd199 /tcg/tcg.h
parentcf60bce4052bfbdd581ce29ffb3e328afaa72662 (diff)
downloadqemu-39cf05d32217f624e4b2e70cde2b5d4a1e841c89.tar.gz
more generic call codegen
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4528 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 3a78a7faee..feed50e15b 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -153,6 +153,10 @@ typedef int TCGv;
safely suppressed if the return value is not used. */
#define TCG_CALL_PURE 0x0010
+/* used to align parameters */
+#define TCG_CALL_DUMMY_TCGV MAKE_TCGV(-1)
+#define TCG_CALL_DUMMY_ARG ((TCGArg)(-1))
+
typedef enum {
TCG_COND_EQ,
TCG_COND_NE,