Patchwork [PULL,23/43] target-xtensa: gen_intermediate_code_internal() should be inlined

login
register
mail settings
Submitter Andreas Färber
Date July 10, 2013, 2:34 p.m.
Message ID <1373466860-32732-24-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/258086/
State New
Headers show

Comments

Andreas Färber - July 10, 2013, 2:34 p.m.
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>
---
 target-xtensa/translate.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c
index dcb90a5..e384812 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;