From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSnGf-0006Xq-2h for qemu-devel@nongnu.org; Tue, 22 Nov 2011 05:08:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSnGZ-00065i-2d for qemu-devel@nongnu.org; Tue, 22 Nov 2011 05:07:57 -0500 Received: from e28smtp02.in.ibm.com ([122.248.162.2]:51605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSnGV-00061r-Ps for qemu-devel@nongnu.org; Tue, 22 Nov 2011 05:07:50 -0500 Received: from /spool/local by e28smtp02.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 22 Nov 2011 15:37:31 +0530 From: Dong Xu Wang Date: Tue, 22 Nov 2011 18:06:22 +0800 Message-Id: <1321956386-12004-7-git-send-email-wdongxu@linux.vnet.ibm.com> In-Reply-To: <1321956386-12004-1-git-send-email-wdongxu@linux.vnet.ibm.com> References: <1321956386-12004-1-git-send-email-wdongxu@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 07/11] fix spelling in tcg sub directory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Dong Xu Wang , stefanha@linux.vnet.ibm.com From: Dong Xu Wang Signed-off-by: Dong Xu Wang --- tcg/tcg.c | 2 +- tcg/tcg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index 77bd6ef..d43fa4a 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -1555,7 +1555,7 @@ static void temp_save(TCGContext *s, int temp, TCGRegSet allocated_regs) } } -/* save globals to their cannonical location and assume they can be +/* save globals to their canonical location and assume they can be modified be the following code. 'allocated_regs' is used in case a temporary registers needs to be allocated to store a constant. */ static void save_globals(TCGContext *s, TCGRegSet allocated_regs) diff --git a/tcg/tcg.h b/tcg/tcg.h index 755a8b3..175000f 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -178,7 +178,7 @@ typedef tcg_target_ulong TCGArg; /* Define a type and accessor macros for variables. Using a struct is nice because it gives some level of type safely. Ideally the compiler be able to see through all this. However in practice this is not true, - expecially on targets with braindamaged ABIs (e.g. i386). + especially on targets with braindamaged ABIs (e.g. i386). We use plain int by default to avoid this runtime overhead. Users of tcg_gen_* don't need to know about any of this, and should treat TCGv as an opaque type. -- 1.7.5.4