mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-02 21:32:52 +00:00
target/m68k: Use tcg_constant_i32 in gen_ea_mode
Return a constant for an immediate input. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
56649fd949
commit
999b7c2659
1 changed files with 1 additions and 1 deletions
|
@ -916,7 +916,7 @@ static TCGv gen_ea_mode(CPUM68KState *env, DisasContext *s, int mode, int reg0,
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached();
|
g_assert_not_reached();
|
||||||
}
|
}
|
||||||
return tcg_const_i32(offset);
|
return tcg_constant_i32(offset);
|
||||||
default:
|
default:
|
||||||
return NULL_QREG;
|
return NULL_QREG;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue