summaryrefslogtreecommitdiffstats
path: root/target-cris
diff options
context:
space:
mode:
authoraurel322008-11-01 01:53:30 +0100
committeraurel322008-11-01 01:53:30 +0100
commit6d17c604c0fb35dd7d02b60dd99ce882264e68e5 (patch)
treed0283ff8307b2a04c66bb047d29b59efcd3d0516 /target-cris
parentMalta & OMAP: add a name to char devices (diff)
downloadqemu-6d17c604c0fb35dd7d02b60dd99ce882264e68e5.tar.gz
qemu-6d17c604c0fb35dd7d02b60dd99ce882264e68e5.tar.xz
qemu-6d17c604c0fb35dd7d02b60dd99ce882264e68e5.zip
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
Diffstat (limited to 'target-cris')
-rw-r--r--target-cris/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c
index 49343092af..f5a7bf45a7 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -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);
}