[7007] tcg: improve comment about pure functions
Revision: 7007
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7007 Author: aurel32 Date: 2009-04-06 12:33:51 +0000 (Mon, 06 Apr 2009)
Log Message:
-----------
tcg: improve comment about pure functions
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/tcg/tcg.h
Modified: trunk/tcg/tcg.h
===================================================================
tcg/tcg.h +2 -2
@@ -174,8 +174,8 @@#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
Am 06.04.2009 um 14:33 schrieb Aurelien Jarno:
tcg/tcg.h line 177
Quoted 2 lines
tcg/tcg.h +1
-1-/* A pure function only reads its arguments and globals variables and +/* A pure function only reads its arguments and TCG globals variables
TCG global variables?
Quoted 8 lines · Andreas Färber
Am 06.04.2009 um 14:33 schrieb Aurelien Jarno:
tcg/tcg.h line 177
Quoted 2 lines
tcg/tcg.h +1
-1-/* A pure function only reads its arguments and globals variables and +/* A pure function only reads its arguments and TCG globals variables TCG global variables?
Thanks, fixed.
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net