summaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-09 06:27:24 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-09 06:27:24 +0000
commit96e128e8fae0656fa525cc3f8f5e79c06674db20 (patch)
tree711393f4512ce0507f7449f548e00cac5130a9e4 /target-ppc
parent99c30c52fcb3b983ea11b24bae74ce06eb9833eb (diff)
downloadqemu-96e128e8fae0656fa525cc3f8f5e79c06674db20.tar.gz
qemu-96e128e8fae0656fa525cc3f8f5e79c06674db20.tar.bz2
qemu-96e128e8fae0656fa525cc3f8f5e79c06674db20.zip
target-ppc: free a tcg temp variable
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6790 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/translate_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 40e652732a..1c0a044dbe 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -474,6 +474,7 @@ static void spr_write_excp_prefix (void *opaque, int sprn, int gprn)
tcg_gen_and_tl(t0, t0, cpu_gpr[gprn]);
tcg_gen_st_tl(t0, cpu_env, offsetof(CPUState, excp_prefix));
gen_store_spr(sprn, t0);
+ tcg_temp_free(t0);
}
static void spr_write_excp_vector (void *opaque, int sprn, int gprn)