From a05b5b9be0fec96c89e00abaa964be7ce9e661ac Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 20 Aug 2013 17:07:26 -0700 Subject: tcg: Change tcg_out_ld/st offset to intptr_t Reviewed-by: Aurelien Jarno Signed-off-by: Richard Henderson --- tcg/mips/tcg-target.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcg/mips/tcg-target.c') diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index f7ea140..6bf7dba 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); } -- cgit v1.1