mirror of https://gitee.com/openkylin/qemu.git
Fix compiler warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4003 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
2f0a500803
commit
bffd92fed9
|
@ -294,6 +294,7 @@ static inline void tcg_out_modrm_offset(TCGContext *s, int opc, int r, int rm,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(CONFIG_SOFTMMU)
|
||||||
/* XXX: incomplete. index must be different from ESP */
|
/* XXX: incomplete. index must be different from ESP */
|
||||||
static void tcg_out_modrm_offset2(TCGContext *s, int opc, int r, int rm,
|
static void tcg_out_modrm_offset2(TCGContext *s, int opc, int r, int rm,
|
||||||
int index, int shift,
|
int index, int shift,
|
||||||
|
@ -330,6 +331,7 @@ static void tcg_out_modrm_offset2(TCGContext *s, int opc, int r, int rm,
|
||||||
tcg_out32(s, offset);
|
tcg_out32(s, offset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline void tcg_out_mov(TCGContext *s, int ret, int arg)
|
static inline void tcg_out_mov(TCGContext *s, int ret, int arg)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue