Commit 34d5a9ff634b1cafdd164cfe19e167b55084f6b8
1 parent
c20d7afb
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
Showing
1 changed file
with
2 additions
and
2 deletions
tcg/tcg.h
... | ... | @@ -174,8 +174,8 @@ typedef int TCGv_i64; |
174 | 174 | #define TCG_CALL_TYPE_REGPARM_1 0x0001 /* i386 style regparm call (1 reg) */ |
175 | 175 | #define TCG_CALL_TYPE_REGPARM_2 0x0002 /* i386 style regparm call (2 regs) */ |
176 | 176 | #define TCG_CALL_TYPE_REGPARM 0x0003 /* i386 style regparm call (3 regs) */ |
177 | -/* A pure function only reads its arguments and globals variables and | |
178 | - cannot raise exceptions. Hence a call to a pure function can be | |
177 | +/* A pure function only reads its arguments and TCG globals variables | |
178 | + and cannot raise exceptions. Hence a call to a pure function can be | |
179 | 179 | safely suppressed if the return value is not used. */ |
180 | 180 | #define TCG_CALL_PURE 0x0010 |
181 | 181 | ... | ... |