diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-10 18:43:02 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-10 18:43:02 +0000 |
commit | 981564234797ba0f948f28e35284f0730c34a059 (patch) | |
tree | f195d9721afe85ce1115625d1bbbf93d84d58bd8 | |
parent | ec5b78cdc9cc8585bd9f85b0cdd4db0cd5c49e13 (diff) | |
download | hqemu-981564234797ba0f948f28e35284f0730c34a059.zip hqemu-981564234797ba0f948f28e35284f0730c34a059.tar.gz |
Fix DEBUG_TCGV.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4415 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | tcg/tcg-op.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h index f80d040..1daf130 100644 --- a/tcg/tcg-op.h +++ b/tcg/tcg-op.h @@ -164,7 +164,7 @@ static inline void tcg_gen_br(int label) static inline void tcg_gen_mov_i32(TCGv ret, TCGv arg) { - if (ret != arg) + if (GET_TCGV(ret) != GET_TCGV(arg)) tcg_gen_op2(INDEX_op_mov_i32, ret, arg); } @@ -501,7 +501,7 @@ static inline void tcg_gen_remu_i32(TCGv ret, TCGv arg1, TCGv arg2) static inline void tcg_gen_mov_i64(TCGv ret, TCGv arg) { - if (ret != arg) { + if (GET_TCGV(ret) != GET_TCGV(arg)) { tcg_gen_mov_i32(ret, arg); tcg_gen_mov_i32(TCGV_HIGH(ret), TCGV_HIGH(arg)); } @@ -732,7 +732,7 @@ static inline void tcg_gen_remu_i64(TCGv ret, TCGv arg1, TCGv arg2) static inline void tcg_gen_mov_i64(TCGv ret, TCGv arg) { - if (ret != arg) + if (GET_TCGV(ret) != GET_TCGV(arg)) tcg_gen_op2(INDEX_op_mov_i64, ret, arg); } |