mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
8cfd04959a
commit
a05b5b9be0
12 changed files with 28 additions and 28 deletions
|
@ -993,7 +993,7 @@ static inline void tcg_out_st_rel(TCGContext *s, uint64_t opc_m4, 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)
|
||||
{
|
||||
if (type == TCG_TYPE_I32) {
|
||||
tcg_out_ld_rel(s, OPC_LD4_M1, arg, arg1, arg2);
|
||||
|
@ -1003,7 +1003,7 @@ static inline void tcg_out_ld(TCGContext *s, TCGType type, TCGReg arg,
|
|||
}
|
||||
|
||||
static inline void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg,
|
||||
TCGReg arg1, tcg_target_long arg2)
|
||||
TCGReg arg1, intptr_t arg2)
|
||||
{
|
||||
if (type == TCG_TYPE_I32) {
|
||||
tcg_out_st_rel(s, OPC_ST4_M4, arg, arg1, arg2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue