qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [7007] tcg: improve comment about pure functions


From: Aurelien Jarno
Subject: [Qemu-devel] [7007] tcg: improve comment about pure functions
Date: Mon, 06 Apr 2009 12:33:52 +0000

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 <address@hidden>

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 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]