mirror of https://gitee.com/openkylin/qemu.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
This commit is contained in:
parent
faab7592c7
commit
820e00f252
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue