Commit 56b8f567d83277a232b4c785df3b76491a278c44
1 parent
1b893ef3
Fix mixed defines
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3992 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
tcg/tcg-op.h
... | ... | @@ -1263,7 +1263,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index) |
1263 | 1263 | #endif |
1264 | 1264 | } |
1265 | 1265 | |
1266 | -#define tcg_gen_ld_ptr tcg_gen_ld_i64 | |
1266 | +#define tcg_gen_ld_ptr tcg_gen_ld_i32 | |
1267 | 1267 | |
1268 | 1268 | #else /* TCG_TARGET_REG_BITS == 32 */ |
1269 | 1269 | |
... | ... | @@ -1322,7 +1322,7 @@ static inline void tcg_gen_qemu_st64(TCGv arg, TCGv addr, int mem_index) |
1322 | 1322 | tcg_gen_op3i(INDEX_op_qemu_st64, arg, addr, mem_index); |
1323 | 1323 | } |
1324 | 1324 | |
1325 | -#define tcg_gen_ld_ptr tcg_gen_ld_i32 | |
1325 | +#define tcg_gen_ld_ptr tcg_gen_ld_i64 | |
1326 | 1326 | |
1327 | 1327 | #endif /* TCG_TARGET_REG_BITS != 32 */ |
1328 | 1328 | ... | ... |