summary refs log tree commit diff stats
path: root/tcg/tcg.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 9299176abb..2ce36b8786 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -143,6 +143,9 @@ typedef int TCGv;
 
 #endif /* DEBUG_TCGV */
 
+/* Dummy definition to avoid compiler warnings.  */
+#define TCGV_UNUSED(x) x = MAKE_TCGV(-1)
+
 /* call flags */
 #define TCG_CALL_TYPE_MASK      0x000f
 #define TCG_CALL_TYPE_STD       0x0000 /* standard C call */