From: Andreas Färber <afaer...@suse.de> Cc: qemu-sta...@nongnu.org Reported-by: Richard Henderson <r...@twiddle.net> Reviewed-by: Richard Henderson <r...@twiddle.net> Acked-by: Michael Walle <mich...@walle.cc> Signed-off-by: Andreas Färber <afaer...@suse.de> (cherry picked from commit 28014bcab244e968cb03f20384943494bd069ee0)
Signed-off-by: Michael Roth <mdr...@linux.vnet.ibm.com> --- target-lm32/translate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/target-lm32/translate.c b/target-lm32/translate.c index af9ce8c..3e44e5c 100644 --- a/target-lm32/translate.c +++ b/target-lm32/translate.c @@ -1011,8 +1011,9 @@ static void check_breakpoint(CPULM32State *env, DisasContext *dc) } /* generate intermediate code for basic block 'tb'. */ -static void gen_intermediate_code_internal(CPULM32State *env, - TranslationBlock *tb, int search_pc) +static inline +void gen_intermediate_code_internal(CPULM32State *env, + TranslationBlock *tb, int search_pc) { struct DisasContext ctx, *dc = &ctx; uint16_t *gen_opc_end; -- 1.7.9.5