mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
tcg-ia64: Fix warning in qemu_ld.
The usermode version of qemu_ld doesn't used mem_index, leading to set-but-not-used warnings. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
This commit is contained in:
parent
07f59737d8
commit
393f398b69
1 changed files with 1 additions and 2 deletions
|
@ -1658,11 +1658,10 @@ static inline void tcg_out_qemu_ld(TCGContext *s, const TCGArg *args, int opc)
|
||||||
static uint64_t const opc_sxt_i29[4] = {
|
static uint64_t const opc_sxt_i29[4] = {
|
||||||
OPC_SXT1_I29, OPC_SXT2_I29, OPC_SXT4_I29, 0
|
OPC_SXT1_I29, OPC_SXT2_I29, OPC_SXT4_I29, 0
|
||||||
};
|
};
|
||||||
int addr_reg, data_reg, mem_index, s_bits, bswap;
|
int addr_reg, data_reg, s_bits, bswap;
|
||||||
|
|
||||||
data_reg = *args++;
|
data_reg = *args++;
|
||||||
addr_reg = *args++;
|
addr_reg = *args++;
|
||||||
mem_index = *args;
|
|
||||||
s_bits = opc & 3;
|
s_bits = opc & 3;
|
||||||
|
|
||||||
#ifdef TARGET_WORDS_BIGENDIAN
|
#ifdef TARGET_WORDS_BIGENDIAN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue