From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lqo1T-00078Y-K0 for qemu-devel@nongnu.org; Mon, 06 Apr 2009 08:33:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lqo1S-00078A-Hj for qemu-devel@nongnu.org; Mon, 06 Apr 2009 08:33:55 -0400 Received: from [199.232.76.173] (port=57833 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lqo1S-000784-BU for qemu-devel@nongnu.org; Mon, 06 Apr 2009 08:33:54 -0400 Received: from savannah.gnu.org ([199.232.41.3]:44319 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lqo1S-0002XW-4D for qemu-devel@nongnu.org; Mon, 06 Apr 2009 08:33:54 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Lqo1R-0004UZ-2v for qemu-devel@nongnu.org; Mon, 06 Apr 2009 12:33:53 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Lqo1Q-0004UU-HN for qemu-devel@nongnu.org; Mon, 06 Apr 2009 12:33:52 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Mon, 06 Apr 2009 12:33:52 +0000 Subject: [Qemu-devel] [7007] tcg: improve comment about pure functions Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 Modified Paths: -------------- trunk/tcg/tcg.h Modified: trunk/tcg/tcg.h =================================================================== --- trunk/tcg/tcg.h 2009-04-06 00:35:08 UTC (rev 7006) +++ trunk/tcg/tcg.h 2009-04-06 12:33:51 UTC (rev 7007) @@ -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