From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCgQS-0001mg-0T for qemu-devel@nongnu.org; Tue, 16 Dec 2008 15:21:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCgQQ-0001lI-Gq for qemu-devel@nongnu.org; Tue, 16 Dec 2008 15:21:51 -0500 Received: from [199.232.76.173] (port=54388 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCgQQ-0001lB-7o for qemu-devel@nongnu.org; Tue, 16 Dec 2008 15:21:50 -0500 Received: from mx20.gnu.org ([199.232.41.8]:29910) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCgQP-0003lY-Vj for qemu-devel@nongnu.org; Tue, 16 Dec 2008 15:21:50 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCgQN-00034k-0L for qemu-devel@nongnu.org; Tue, 16 Dec 2008 15:21:47 -0500 From: Nathan Froyd Date: Tue, 16 Dec 2008 12:21:45 -0800 Message-Id: <1229458905-9829-1-git-send-email-froydnj@codesourcery.com> Subject: [Qemu-devel] [PATCH] Fix DEBUG_TCGV compile error. 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 Don't call TCGV_LOW on arg2. This section of code falls under #if TCG_TARGET_REG_BITS == 32, so arg2 will always be a TCGv_i32. Signed-off-by: Nathan Froyd --- tcg/tcg-op.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h index 5432ac1..b52056c 100644 --- a/tcg/tcg-op.h +++ b/tcg/tcg-op.h @@ -654,7 +654,7 @@ static inline void tcg_gen_ld8s_i64(TCGv_i64 ret, TCGv_ptr arg2, static inline void tcg_gen_ld16u_i64(TCGv_i64 ret, TCGv_ptr arg2, tcg_target_long offset) { - tcg_gen_ld16u_i32(TCGV_LOW(ret), TCGV_LOW(arg2), offset); + tcg_gen_ld16u_i32(TCGV_LOW(ret), arg2, offset); tcg_gen_movi_i32(TCGV_HIGH(ret), 0); } -- 1.6.0.5