summaryrefslogtreecommitdiffstats
path: root/tcg/mips
diff options
context:
space:
mode:
authorRichard Henderson2013-08-21 02:07:26 +0200
committerRichard Henderson2013-09-02 18:08:30 +0200
commita05b5b9be0fec96c89e00abaa964be7ce9e661ac (patch)
tree4d68181e9e72cf2cae3e1fc7672465c3ff3e5e57 /tcg/mips
parenttcg: Change tcg_gen_exit_tb argument to uintptr_t (diff)
downloadqemu-a05b5b9be0fec96c89e00abaa964be7ce9e661ac.tar.gz
qemu-a05b5b9be0fec96c89e00abaa964be7ce9e661ac.tar.xz
qemu-a05b5b9be0fec96c89e00abaa964be7ce9e661ac.zip
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/mips')
-rw-r--r--tcg/mips/tcg-target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index f7ea140177..6bf7dba82d 100644
--- a/tcg/mips/tcg-target.c
+++ b/tcg/mips/tcg-target.c
@@ -514,13 +514,13 @@ static inline void tcg_out_ldst(TCGContext *s, int opc, TCGArg arg,
}
static inline void tcg_out_ld(TCGContext *s, TCGType type, TCGReg arg,
- TCGReg arg1, tcg_target_long arg2)
+ TCGReg arg1, intptr_t arg2)
{
tcg_out_ldst(s, OPC_LW, arg, 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)
{
tcg_out_ldst(s, OPC_SW, arg, arg1, arg2);
}