Skip to contentSkip to conversation

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

Qemu-devel Aurelien Jarno 1 participant 1 message Nov 1, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5586

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5586
Author:   aurel32
Date:     2008-11-01 00:53:30 +0000 (Sat, 01 Nov 2008)

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

Fix build with DEBUG_TCGV enabled.

Modified Paths:
--------------
trunk/target-cris/translate.c

Modified: trunk/target-cris/translate.c
===================================================================

target-cris/translate.c +1 -1
@@ -951,7 +951,7 @@
 			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);
 }