Commit a747723bed603a88c01fca9a970f742e2819422a

Authored by aurel32
1 parent 84694dd2

Fix DEBUG_TCGV compile error.

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

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6585 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
tcg/tcg-op.h
@@ -654,7 +654,7 @@ static inline void tcg_gen_ld8s_i64(TCGv_i64 ret, TCGv_ptr arg2, @@ -654,7 +654,7 @@ static inline void tcg_gen_ld8s_i64(TCGv_i64 ret, TCGv_ptr arg2,
654 static inline void tcg_gen_ld16u_i64(TCGv_i64 ret, TCGv_ptr arg2, 654 static inline void tcg_gen_ld16u_i64(TCGv_i64 ret, TCGv_ptr arg2,
655 tcg_target_long offset) 655 tcg_target_long offset)
656 { 656 {
657 - tcg_gen_ld16u_i32(TCGV_LOW(ret), TCGV_LOW(arg2), offset); 657 + tcg_gen_ld16u_i32(TCGV_LOW(ret), arg2, offset);
658 tcg_gen_movi_i32(TCGV_HIGH(ret), 0); 658 tcg_gen_movi_i32(TCGV_HIGH(ret), 0);
659 } 659 }
660 660