From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBsgj-0000WN-TA for qemu-devel@nongnu.org; Mon, 28 Jul 2014 17:42:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBsgi-0002pV-Uq for qemu-devel@nongnu.org; Mon, 28 Jul 2014 17:42:33 -0400 Received: from hall.aurel32.net ([2001:bc8:30d7:101::1]:37632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBsgi-0002pO-Ov for qemu-devel@nongnu.org; Mon, 28 Jul 2014 17:42:32 -0400 Date: Mon, 28 Jul 2014 23:42:30 +0200 From: Aurelien Jarno Message-ID: <20140728214230.GA24651@ohm.rr44.fr> References: <1406563102-11035-1-git-send-email-elta.era@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1406563102-11035-1-git-send-email-elta.era@gmail.com> Subject: Re: [Qemu-devel] [PATCH 1/2] target-mips/translate.c: Free TCG in OPC_DINSV List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dongxue Zhang Cc: qemu-devel@nongnu.org On Mon, Jul 28, 2014 at 11:58:21PM +0800, Dongxue Zhang wrote: > Free t0 and t1 in opcode OPC_DINSV. > > Signed-off-by: Dongxue Zhang > --- > target-mips/translate.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/target-mips/translate.c b/target-mips/translate.c > index d7b8c4d..c381366 100644 > --- a/target-mips/translate.c > +++ b/target-mips/translate.c > @@ -15300,6 +15300,9 @@ static void decode_opc (CPUMIPSState *env, DisasContext *ctx) > gen_load_gpr(t1, rs); > > gen_helper_dinsv(cpu_gpr[rt], cpu_env, t1, t0); > + > + tcg_temp_free(t0); > + tcg_temp_free(t1); > break; > } > default: /* Invalid */ Good catch, I applied the patch. -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net