From dac8d19bdb3ccaafbcbd2df34135464964232a8f Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 10 Aug 2022 21:05:31 -0700 Subject: accel/tcg: Remove translator_ldsw The only user can easily use translator_lduw and adjust the type to signed during the return. Reviewed-by: Alistair Francis Acked-by: Ilya Leoshkevich Tested-by: Ilya Leoshkevich Signed-off-by: Richard Henderson --- include/exec/translator.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/exec/translator.h b/include/exec/translator.h index 0d0bf3a..45b9268 100644 --- a/include/exec/translator.h +++ b/include/exec/translator.h @@ -178,7 +178,6 @@ bool translator_use_goto_tb(DisasContextBase *db, target_ulong dest); #define FOR_EACH_TRANSLATOR_LD(F) \ F(translator_ldub, uint8_t, cpu_ldub_code, /* no swap */) \ - F(translator_ldsw, int16_t, cpu_ldsw_code, bswap16) \ F(translator_lduw, uint16_t, cpu_lduw_code, bswap16) \ F(translator_ldl, uint32_t, cpu_ldl_code, bswap32) \ F(translator_ldq, uint64_t, cpu_ldq_code, bswap64) -- cgit v1.1