mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
accel/tcg: Return bool from TranslatorOps.disas_log
We have eliminated most uses of this hook. Reduce further by allowing the hook to handle only the special cases, returning false for normal processing. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
962a145cdc
commit
b67c567b79
4 changed files with 12 additions and 18 deletions
|
@ -135,7 +135,7 @@ typedef struct TranslatorOps {
|
|||
void (*insn_start)(DisasContextBase *db, CPUState *cpu);
|
||||
void (*translate_insn)(DisasContextBase *db, CPUState *cpu);
|
||||
void (*tb_stop)(DisasContextBase *db, CPUState *cpu);
|
||||
void (*disas_log)(const DisasContextBase *db, CPUState *cpu, FILE *f);
|
||||
bool (*disas_log)(const DisasContextBase *db, CPUState *cpu, FILE *f);
|
||||
} TranslatorOps;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue