diff options
Diffstat (limited to 'target-mips/translate.c')
-rw-r--r-- | target-mips/translate.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c index bdc0f7b21d..4a2fb24827 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -8453,7 +8453,7 @@ static void decode_opc (CPUState *env, DisasContext *ctx) } } -static inline int +static inline void gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, int search_pc) { @@ -8598,18 +8598,16 @@ done_generating: fprintf(logfile, "---------------- %d %08x\n", ctx.bstate, ctx.hflags); } #endif - - return 0; } -int gen_intermediate_code (CPUState *env, struct TranslationBlock *tb) +void gen_intermediate_code (CPUState *env, struct TranslationBlock *tb) { - return gen_intermediate_code_internal(env, tb, 0); + gen_intermediate_code_internal(env, tb, 0); } -int gen_intermediate_code_pc (CPUState *env, struct TranslationBlock *tb) +void gen_intermediate_code_pc (CPUState *env, struct TranslationBlock *tb) { - return gen_intermediate_code_internal(env, tb, 1); + gen_intermediate_code_internal(env, tb, 1); } void fpu_dump_state(CPUState *env, FILE *f, |