diff options
author | Richard Henderson <rth@twiddle.net> | 2013-08-20 17:07:26 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-09-02 09:08:30 -0700 |
commit | a05b5b9be0fec96c89e00abaa964be7ce9e661ac (patch) | |
tree | 4d68181e9e72cf2cae3e1fc7672465c3ff3e5e57 /tcg/i386 | |
parent | 8cfd04959a023f87e1e6727e608a20f168441370 (diff) | |
download | qemu-a05b5b9be0fec96c89e00abaa964be7ce9e661ac.zip qemu-a05b5b9be0fec96c89e00abaa964be7ce9e661ac.tar.gz qemu-a05b5b9be0fec96c89e00abaa964be7ce9e661ac.tar.bz2 |
tcg: Change tcg_out_ld/st offset to intptr_t
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/i386')
-rw-r--r-- | tcg/i386/tcg-target.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index 031df71..70e80f9 100644 --- a/tcg/i386/tcg-target.c +++ b/tcg/i386/tcg-target.c @@ -595,14 +595,14 @@ static inline void tcg_out_pop(TCGContext *s, int reg) } static inline void tcg_out_ld(TCGContext *s, TCGType type, TCGReg ret, - TCGReg arg1, tcg_target_long arg2) + TCGReg arg1, intptr_t arg2) { int opc = OPC_MOVL_GvEv + (type == TCG_TYPE_I64 ? P_REXW : 0); tcg_out_modrm_offset(s, opc, ret, arg1, arg2); } static inline void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg, - TCGReg arg1, tcg_target_long arg2) + TCGReg arg1, intptr_t arg2) { int opc = OPC_MOVL_EvGv + (type == TCG_TYPE_I64 ? P_REXW : 0); tcg_out_modrm_offset(s, opc, arg, arg1, arg2); |