Skip to contentSkip to conversation

[6585] Fix DEBUG_TCGV compile error.

Qemu-devel Aurelien Jarno 1 participant 1 message Feb 9, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6585

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6585
Author:   aurel32
Date:     2009-02-09 20:43:53 +0000 (Mon, 09 Feb 2009)

Log Message:
-----------
Fix DEBUG_TCGV compile error.

Don't call TCGV_LOW on arg2. This section of code falls under

Modified Paths:
--------------
trunk/tcg/tcg-op.h

Modified: trunk/tcg/tcg-op.h
===================================================================

tcg/tcg-op.h +1 -1
@@ -654,7 +654,7 @@
 static inline void tcg_gen_ld16u_i64(TCGv_i64 ret, TCGv_ptr arg2,
                                      tcg_target_long offset)
 {
-    tcg_gen_ld16u_i32(TCGV_LOW(ret), TCGV_LOW(arg2), offset);
+    tcg_gen_ld16u_i32(TCGV_LOW(ret), arg2, offset);
     tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
 }