Commit 6d17c604c0fb35dd7d02b60dd99ce882264e68e5

Authored by aurel32
1 parent 7cc0dd20

target-cris: access to TCG variables through GET_TCGV()

Fix build with DEBUG_TCGV enabled.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5586 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-cris/translate.c
@@ -951,7 +951,7 @@ static void cris_alu(DisasContext *dc, int op, @@ -951,7 +951,7 @@ static void cris_alu(DisasContext *dc, int op,
951 tcg_gen_andi_tl(d, d, ~0xffff); 951 tcg_gen_andi_tl(d, d, ~0xffff);
952 tcg_gen_or_tl(d, d, tmp); 952 tcg_gen_or_tl(d, d, tmp);
953 } 953 }
954 - if (tmp != d) 954 + if (GET_TCGV(tmp) != GET_TCGV(d))
955 tcg_temp_free(tmp); 955 tcg_temp_free(tmp);
956 } 956 }
957 957