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
@ -916,7 +916,7 @@ static TCGv gen_ea_mode(CPUM68KState *env, DisasContext *s, int mode, int reg0,
|
||||
default:
|
||||
g_assert_not_reached();
|
||||
}
|
||||
return tcg_const_i32(offset);
|
||||
return tcg_constant_i32(offset);
|
||||
default:
|
||||
return NULL_QREG;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user