aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-06 12:33:51 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-06 12:33:51 +0000
commit34d5a9ff634b1cafdd164cfe19e167b55084f6b8 (patch)
treec416abeb9ad6bb503bbcc2e59bf1183a3059db11 /tcg/tcg.h
parentc20d7afb366e5d969858fcdcd4b5d5250fa3be91 (diff)
downloadqemu-34d5a9ff634b1cafdd164cfe19e167b55084f6b8.zip
qemu-34d5a9ff634b1cafdd164cfe19e167b55084f6b8.tar.gz
qemu-34d5a9ff634b1cafdd164cfe19e167b55084f6b8.tar.bz2
tcg: improve comment about pure functions
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7007 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 1ffeca6..cb4911c 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -174,8 +174,8 @@ typedef int TCGv_i64;
#define TCG_CALL_TYPE_REGPARM_1 0x0001 /* i386 style regparm call (1 reg) */
#define TCG_CALL_TYPE_REGPARM_2 0x0002 /* i386 style regparm call (2 regs) */
#define TCG_CALL_TYPE_REGPARM 0x0003 /* i386 style regparm call (3 regs) */
-/* A pure function only reads its arguments and globals variables and
- cannot raise exceptions. Hence a call to a pure function can be
+/* A pure function only reads its arguments and TCG globals variables
+ and cannot raise exceptions. Hence a call to a pure function can be
safely suppressed if the return value is not used. */
#define TCG_CALL_PURE 0x0010