From: ths Date: Mon, 19 Mar 2007 21:46:06 +0000 (+0000) Subject: Define gen_intermediate_code_internal as "static inline". X-Git-Tag: TizenStudio_2.0_p2.3~13709 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=820e00f252239465e1df507b6fabcffd6b7b6983;p=sdk%2Femulator%2Fqemu.git Define gen_intermediate_code_internal as "static inline". git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2512 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-m68k/translate.c b/target-m68k/translate.c index 9c34c62..5d47c54 100644 --- a/target-m68k/translate.c +++ b/target-m68k/translate.c @@ -2551,8 +2551,9 @@ optimize_flags(void) #endif /* generate intermediate code for basic block 'tb'. */ -int gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb, - int search_pc) +static inline int +gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb, + int search_pc) { DisasContext dc1, *dc = &dc1; uint16_t *gen_opc_end; diff --git a/target-mips/translate.c b/target-mips/translate.c index 75e3069..6ae3c68 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -4999,8 +4999,9 @@ static void decode_opc (CPUState *env, DisasContext *ctx) } } -int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, - int search_pc) +static inline int +gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, + int search_pc) { DisasContext ctx, *ctxp = &ctx; target_ulong pc_start; diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 82919a5..d9be35d 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -4604,8 +4604,9 @@ void cpu_dump_statistics (CPUState *env, FILE*f, } /*****************************************************************************/ -int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, - int search_pc) +static inline int +gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, + int search_pc) { DisasContext ctx, *ctxp = &ctx; opc_handler_t **table, *handler; diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 358f975..1c9fe40 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -1087,8 +1087,9 @@ void decode_opc(DisasContext * ctx) ctx->flags |= BRANCH_EXCEPTION; } -int gen_intermediate_code_internal(CPUState * env, TranslationBlock * tb, - int search_pc) +static inline int +gen_intermediate_code_internal(CPUState * env, TranslationBlock * tb, + int search_pc) { DisasContext ctx; target_ulong pc_start;