tcg: kill two warnings
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6029 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c241f1f4a5
commit
3e9a474e3d
|
@ -285,7 +285,7 @@ static inline void tgen_arithi(TCGContext *s, int c, int r0, int32_t val)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void tcg_out_addi(TCGContext *s, int reg, tcg_target_long val)
|
static void tcg_out_addi(TCGContext *s, int reg, tcg_target_long val)
|
||||||
{
|
{
|
||||||
if (val != 0)
|
if (val != 0)
|
||||||
tgen_arithi(s, ARITH_ADD, reg, val);
|
tgen_arithi(s, ARITH_ADD, reg, val);
|
||||||
|
|
|
@ -886,7 +886,7 @@ void tcg_dump_ops(TCGContext *s, FILE *outfile)
|
||||||
val = args[1];
|
val = args[1];
|
||||||
th = tcg_find_helper(s, val);
|
th = tcg_find_helper(s, val);
|
||||||
if (th) {
|
if (th) {
|
||||||
fprintf(outfile, th->name);
|
fprintf(outfile, "%s", th->name);
|
||||||
} else {
|
} else {
|
||||||
if (c == INDEX_op_movi_i32)
|
if (c == INDEX_op_movi_i32)
|
||||||
fprintf(outfile, "0x%x", (uint32_t)val);
|
fprintf(outfile, "0x%x", (uint32_t)val);
|
||||||
|
|
Loading…
Reference in a new issue