Commit 9cd38c23722ff8383bdbf2f77fbb864b290de926

Authored by aurel32
1 parent 828808f5

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
Showing 1 changed file with 1 additions and 1 deletions
target-alpha/translate.c
@@ -236,7 +236,7 @@ static always_inline void gen_store_mem (DisasContext *ctx, @@ -236,7 +236,7 @@ static always_inline void gen_store_mem (DisasContext *ctx,
236 int ra, int rb, int32_t disp16, 236 int ra, int rb, int32_t disp16,
237 int fp, int clear, int local) 237 int fp, int clear, int local)
238 { 238 {
239 - TCGv addr = tcg_temp_new(TCG_TYPE_I64); 239 + TCGv addr;
240 if (local) 240 if (local)
241 addr = tcg_temp_local_new(TCG_TYPE_I64); 241 addr = tcg_temp_local_new(TCG_TYPE_I64);
242 else 242 else