aboutsummaryrefslogtreecommitdiff
path: root/target-xtensa
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-07-02 20:05:21 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-09 21:33:02 +0200
commitae06d4988d6799f0bd16f27c2bcf80fa1cd2cfd7 (patch)
tree92372fae7569c5c5e7cdf6901022a0413cdaacf8 /target-xtensa
parent13cccc692818a570d1fb1326c84d3edae68987aa (diff)
target-xtensa: 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> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-xtensa')
-rw-r--r--target-xtensa/translate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c
index dcb90a54a8..e38481267c 100644
--- a/target-xtensa/translate.c
+++ b/target-xtensa/translate.c
@@ -2875,8 +2875,9 @@ static void gen_ibreak_check(CPUXtensaState *env, DisasContext *dc)
}
}
-static void gen_intermediate_code_internal(
- CPUXtensaState *env, TranslationBlock *tb, int search_pc)
+static inline
+void gen_intermediate_code_internal(CPUXtensaState *env,
+ TranslationBlock *tb, int search_pc)
{
DisasContext dc;
int insn_count = 0;