aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-07-02 19:35:02 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-09 21:33:02 +0200
commit28014bcab244e968cb03f20384943494bd069ee0 (patch)
treef802ae83363eb4f90eea69320adc56ad390c83df
parent6f47ec50db92b4bc77de06661a9e7a3eb538b660 (diff)
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>
-rw-r--r--target-lm32/translate.c5
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;