aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-25 18:29:19 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-25 18:29:19 +0000
commit56b8f567d83277a232b4c785df3b76491a278c44 (patch)
tree661a5662f8d08dda85be1f622359882093781dda /tcg
parent1b893ef3269532c5b438237da599d338b33b75d0 (diff)
Fix mixed defines
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3992 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg-op.h4
1 files changed, 2 insertions, 2 deletions
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 */