aboutsummaryrefslogtreecommitdiff
path: root/target-alpha
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-11 11:30:04 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-11 11:30:04 +0000
commit9cd38c23722ff8383bdbf2f77fbb864b290de926 (patch)
tree9e77e829649bd2be8f43d3009e19a456bea44903 /target-alpha
parent828808f5ece20fd606218e000139799921c89d93 (diff)
target-alpha: fix double TCG variable allocation
Noticed by Chris Krumme. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5671 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-alpha')
-rw-r--r--target-alpha/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 5510ca7f3f..e3ffb89e21 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -236,7 +236,7 @@ static always_inline void gen_store_mem (DisasContext *ctx,
int ra, int rb, int32_t disp16,
int fp, int clear, int local)
{
- TCGv addr = tcg_temp_new(TCG_TYPE_I64);
+ TCGv addr;
if (local)
addr = tcg_temp_local_new(TCG_TYPE_I64);
else