diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-02-29 19:36:08 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-02-29 19:36:08 +0000 |
commit | bffd92fed9393021200915586be8d1b0cc711286 (patch) | |
tree | b69a3745828fe99807c34447a945ca748fed69f9 /tcg/x86_64 | |
parent | 2f0a500803d7cb52ae98727a291d244bcdb38f84 (diff) | |
download | qemu-bffd92fed9393021200915586be8d1b0cc711286.zip |
Fix compiler warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4003 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/x86_64')
-rw-r--r-- | tcg/x86_64/tcg-target.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/x86_64/tcg-target.c b/tcg/x86_64/tcg-target.c index 0ee7d2344e..681a758743 100644 --- a/tcg/x86_64/tcg-target.c +++ b/tcg/x86_64/tcg-target.c @@ -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 */ static void tcg_out_modrm_offset2(TCGContext *s, int opc, int r, int rm, 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); } } +#endif static inline void tcg_out_mov(TCGContext *s, int ret, int arg) { |