diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-02-25 14:12:24 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-03-13 07:03:39 -0700 |
commit | 999b7c26596011154a5a17ee2a1364ca28bcadaf (patch) | |
tree | 5ae02c77f259a03521c795829fbc0ace1743b8c6 /target | |
parent | 56649fd949a85973c23ae17285de7ce5ffe18656 (diff) |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/m68k/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 44c3ac0bc3..422f4652f1 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -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; } |