From 56b8f567d83277a232b4c785df3b76491a278c44 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Mon, 25 Feb 2008 18:29:19 +0000 Subject: Fix mixed defines git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3992 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/tcg-op.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcg/tcg-op.h') diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h index 0126a39cdd..99311931a4 100644 --- a/tcg/tcg-op.h +++ b/tcg/tcg-op.h @@ -1263,7 +1263,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index) #endif } -#define tcg_gen_ld_ptr tcg_gen_ld_i64 +#define tcg_gen_ld_ptr tcg_gen_ld_i32 #else /* TCG_TARGET_REG_BITS == 32 */ @@ -1322,7 +1322,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index) tcg_gen_op3i(INDEX_op_qemu_st64, arg, addr, mem_index); } -#define tcg_gen_ld_ptr tcg_gen_ld_i32 +#define tcg_gen_ld_ptr tcg_gen_ld_i64 #endif /* TCG_TARGET_REG_BITS != 32 */ -- cgit v1.2.3