diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-07 17:16:42 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-07 17:16:42 +0000 |
commit | a810a2de170565529464072edf2102443aaa9fab (patch) | |
tree | 1e998ace47c4437733fd65ad47116d943187e89b /tcg/tcg-op.h | |
parent | e8fc4fa7a13f7c3178fcdf6dd74cbcce076e9040 (diff) | |
download | qemu-a810a2de170565529464072edf2102443aaa9fab.tar.gz qemu-a810a2de170565529464072edf2102443aaa9fab.tar.bz2 qemu-a810a2de170565529464072edf2102443aaa9fab.zip |
Some fixes for TCG debugging
This fixes a few things after Paul's improvements for TCG debugging:
- change TCGv_i64 field name to something different from
TCGv_i32
- fix things in tcg that the above change made visible.
Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5919 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg-op.h')
-rw-r--r-- | tcg/tcg-op.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h index dc404464ce..728d68126c 100644 --- a/tcg/tcg-op.h +++ b/tcg/tcg-op.h @@ -132,7 +132,7 @@ static inline void tcg_gen_ldst_op_i64(int opc, TCGv_i64 val, TCGv_ptr base, TCGArg offset) { *gen_opc_ptr++ = opc; - *gen_opparam_ptr++ = GET_TCGV_I32(val); + *gen_opparam_ptr++ = GET_TCGV_I64(val); *gen_opparam_ptr++ = GET_TCGV_PTR(base); *gen_opparam_ptr++ = offset; } @@ -166,7 +166,7 @@ static inline void tcg_gen_op4_i32(int opc, TCGv_i32 arg1, TCGv_i32 arg2, } static inline void tcg_gen_op4_i64(int opc, TCGv_i64 arg1, TCGv_i64 arg2, - TCGv_i64 arg3, TCGv_i32 arg4) + TCGv_i64 arg3, TCGv_i64 arg4) { *gen_opc_ptr++ = opc; *gen_opparam_ptr++ = GET_TCGV_I64(arg1); |