From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KuZMF-0004M4-IS for qemu-devel@nongnu.org; Mon, 27 Oct 2008 17:10:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KuZME-0004Ls-Ot for qemu-devel@nongnu.org; Mon, 27 Oct 2008 17:10:39 -0400 Received: from [199.232.76.173] (port=47032 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuZME-0004Lp-Ly for qemu-devel@nongnu.org; Mon, 27 Oct 2008 17:10:38 -0400 Received: from savannah.gnu.org ([199.232.41.3]:45985 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 1KuZMC-0003Lw-V0 for qemu-devel@nongnu.org; Mon, 27 Oct 2008 17:10:38 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KuZM3-0001E9-5W for qemu-devel@nongnu.org; Mon, 27 Oct 2008 21:10:27 +0000 Received: from edgar_igl by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KuZM3-0001E4-01 for qemu-devel@nongnu.org; Mon, 27 Oct 2008 21:10:27 +0000 MIME-Version: 1.0 Errors-To: edgar_igl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: "Edgar E. Iglesias" Message-Id: Date: Mon, 27 Oct 2008 21:10:27 +0000 Subject: [Qemu-devel] [5554] CRIS: Plug a few temp leaks. 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: 5554 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5554 Author: edgar_igl Date: 2008-10-27 21:10:26 +0000 (Mon, 27 Oct 2008) Log Message: ----------- CRIS: Plug a few temp leaks. Signed-off-by: Edgar E. Iglesias Modified Paths: -------------- trunk/target-cris/translate.c Modified: trunk/target-cris/translate.c =================================================================== --- trunk/target-cris/translate.c 2008-10-27 20:44:27 UTC (rev 5553) +++ trunk/target-cris/translate.c 2008-10-27 21:10:26 UTC (rev 5554) @@ -1928,6 +1928,7 @@ t_gen_swapr(t0, t0); cris_alu(dc, CC_OP_MOVE, cpu_R[dc->op1], cpu_R[dc->op1], t0, 4); + tcg_temp_free(t0); return 2; } @@ -1954,6 +1955,7 @@ t0 = tcg_temp_new(TCG_TYPE_TL); tcg_gen_shl_tl(t0, cpu_R[dc->op2], tcg_const_tl(dc->zzsize)); tcg_gen_add_tl(cpu_R[dc->op1], cpu_R[dc->op1], t0); + tcg_temp_free(t0); return 2; } @@ -1966,7 +1968,7 @@ t0 = tcg_temp_new(TCG_TYPE_TL); tcg_gen_shl_tl(t0, cpu_R[dc->op2], tcg_const_tl(dc->zzsize)); tcg_gen_add_tl(cpu_R[R_ACR], cpu_R[dc->op1], t0); - + tcg_temp_free(t0); return 2; }