mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
accel/tcg: Remove translator_loop_temp_check
Finish removing tcg temp free accounting interfaces. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
2f2e911d0c
commit
2a196de15f
6 changed files with 0 additions and 12 deletions
|
@ -18,10 +18,6 @@
|
||||||
#include "exec/plugin-gen.h"
|
#include "exec/plugin-gen.h"
|
||||||
#include "exec/replay-core.h"
|
#include "exec/replay-core.h"
|
||||||
|
|
||||||
void translator_loop_temp_check(DisasContextBase *db)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
bool translator_use_goto_tb(DisasContextBase *db, target_ulong dest)
|
bool translator_use_goto_tb(DisasContextBase *db, target_ulong dest)
|
||||||
{
|
{
|
||||||
/* Suppress goto_tb if requested. */
|
/* Suppress goto_tb if requested. */
|
||||||
|
|
|
@ -150,8 +150,6 @@ void translator_loop(CPUState *cpu, TranslationBlock *tb, int *max_insns,
|
||||||
target_ulong pc, void *host_pc,
|
target_ulong pc, void *host_pc,
|
||||||
const TranslatorOps *ops, DisasContextBase *db);
|
const TranslatorOps *ops, DisasContextBase *db);
|
||||||
|
|
||||||
void translator_loop_temp_check(DisasContextBase *db);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* translator_use_goto_tb
|
* translator_use_goto_tb
|
||||||
* @db: Disassembly context
|
* @db: Disassembly context
|
||||||
|
|
|
@ -2996,7 +2996,6 @@ static void alpha_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu)
|
||||||
ctx->base.is_jmp = translate_one(ctx, insn);
|
ctx->base.is_jmp = translate_one(ctx, insn);
|
||||||
|
|
||||||
free_context_temps(ctx);
|
free_context_temps(ctx);
|
||||||
translator_loop_temp_check(&ctx->base);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void alpha_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu)
|
static void alpha_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu)
|
||||||
|
|
|
@ -14957,8 +14957,6 @@ static void aarch64_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu)
|
||||||
if (s->btype > 0 && s->base.is_jmp != DISAS_NORETURN) {
|
if (s->btype > 0 && s->base.is_jmp != DISAS_NORETURN) {
|
||||||
reset_btype(s);
|
reset_btype(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
translator_loop_temp_check(&s->base);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void aarch64_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu)
|
static void aarch64_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu)
|
||||||
|
|
|
@ -9600,7 +9600,6 @@ static void arm_post_translate_insn(DisasContext *dc)
|
||||||
gen_set_label(dc->condlabel.label);
|
gen_set_label(dc->condlabel.label);
|
||||||
dc->condjmp = 0;
|
dc->condjmp = 0;
|
||||||
}
|
}
|
||||||
translator_loop_temp_check(&dc->base);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void arm_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu)
|
static void arm_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu)
|
||||||
|
|
|
@ -7627,8 +7627,6 @@ static void ppc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
|
||||||
if (ctx->base.is_jmp == DISAS_NEXT && !(pc & ~TARGET_PAGE_MASK)) {
|
if (ctx->base.is_jmp == DISAS_NEXT && !(pc & ~TARGET_PAGE_MASK)) {
|
||||||
ctx->base.is_jmp = DISAS_TOO_MANY;
|
ctx->base.is_jmp = DISAS_TOO_MANY;
|
||||||
}
|
}
|
||||||
|
|
||||||
translator_loop_temp_check(&ctx->base);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ppc_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)
|
static void ppc_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue