From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [7007] tcg: improve comment about pure functions
Date: Mon, 06 Apr 2009 12:33:52 +0000 [thread overview]
Message-ID: <E1Lqo1Q-0004UU-HN@cvs.savannah.gnu.org> (raw)
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 <aurelien@aurel32.net>
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
next reply other threads:[~2009-04-06 12:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-06 12:33 Aurelien Jarno [this message]
2009-04-06 16:22 ` [Qemu-devel] [7007] tcg: improve comment about pure functions Andreas Färber
2009-04-07 19:57 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Lqo1Q-0004UU-HN@cvs.savannah.gnu.org \
--to=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).