target-cris: access to TCG variables through GET_TCGV()
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 1 Nov 2008 00:53:30 +0000 (00:53 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 1 Nov 2008 00:53:30 +0000 (00:53 +0000)
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

target-cris/translate.c

index 4934309..f5a7bf4 100644 (file)
@@ -951,7 +951,7 @@ static void cris_alu(DisasContext *dc, int op,
                        tcg_gen_andi_tl(d, d, ~0xffff);
                tcg_gen_or_tl(d, d, tmp);
        }
-       if (tmp != d)
+       if (GET_TCGV(tmp) != GET_TCGV(d))
                tcg_temp_free(tmp);
 }