Revision 2cfc5f17 target-ppc/translate.c
b/target-ppc/translate.c | ||
---|---|---|
6171 | 6171 |
} |
6172 | 6172 |
|
6173 | 6173 |
/*****************************************************************************/ |
6174 |
static always_inline int gen_intermediate_code_internal (CPUState *env,
|
|
6175 |
TranslationBlock *tb, |
|
6176 |
int search_pc) |
|
6174 |
static always_inline void gen_intermediate_code_internal (CPUState *env,
|
|
6175 |
TranslationBlock *tb,
|
|
6176 |
int search_pc)
|
|
6177 | 6177 |
{ |
6178 | 6178 |
DisasContext ctx, *ctxp = &ctx; |
6179 | 6179 |
opc_handler_t **table, *handler; |
... | ... | |
6379 | 6379 |
fprintf(logfile, "\n"); |
6380 | 6380 |
} |
6381 | 6381 |
#endif |
6382 |
return 0; |
|
6383 | 6382 |
} |
6384 | 6383 |
|
6385 |
int gen_intermediate_code (CPUState *env, struct TranslationBlock *tb)
|
|
6384 |
void gen_intermediate_code (CPUState *env, struct TranslationBlock *tb)
|
|
6386 | 6385 |
{ |
6387 |
return gen_intermediate_code_internal(env, tb, 0);
|
|
6386 |
gen_intermediate_code_internal(env, tb, 0); |
|
6388 | 6387 |
} |
6389 | 6388 |
|
6390 |
int gen_intermediate_code_pc (CPUState *env, struct TranslationBlock *tb)
|
|
6389 |
void gen_intermediate_code_pc (CPUState *env, struct TranslationBlock *tb)
|
|
6391 | 6390 |
{ |
6392 |
return gen_intermediate_code_internal(env, tb, 1);
|
|
6391 |
gen_intermediate_code_internal(env, tb, 1); |
|
6393 | 6392 |
} |
6394 | 6393 |
|
6395 | 6394 |
void gen_pc_load(CPUState *env, TranslationBlock *tb, |
Also available in: Unified diff