diff options
author | Andreas Färber <afaerber@suse.de> | 2013-07-02 19:35:02 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-07-09 21:33:02 +0200 |
commit | 28014bcab244e968cb03f20384943494bd069ee0 (patch) | |
tree | f802ae83363eb4f90eea69320adc56ad390c83df /target-lm32/translate.c | |
parent | 6f47ec50db92b4bc77de06661a9e7a3eb538b660 (diff) | |
download | qemu-28014bcab244e968cb03f20384943494bd069ee0.tar.gz qemu-28014bcab244e968cb03f20384943494bd069ee0.tar.bz2 qemu-28014bcab244e968cb03f20384943494bd069ee0.zip |
target-lm32: gen_intermediate_code_internal() should be inlined
Cc: qemu-stable@nongnu.org
Reported-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Acked-by: Michael Walle <michael@walle.cc>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-lm32/translate.c')
-rw-r--r-- | target-lm32/translate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target-lm32/translate.c b/target-lm32/translate.c index 227a8015fb..7d82dc7b7a 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; |