diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-04-02 23:07:53 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-05-15 08:55:19 +0200 |
commit | b67c567b79f7f659814d102579d2b503b6d40ed4 (patch) | |
tree | 0d8e37d6686b08e16f249387256d9f2312f8f56c /include/exec/translator.h | |
parent | 962a145cdcd118f19597c08939ca24fd6227bc36 (diff) | |
download | qemu-b67c567b79f7f659814d102579d2b503b6d40ed4.zip qemu-b67c567b79f7f659814d102579d2b503b6d40ed4.tar.gz qemu-b67c567b79f7f659814d102579d2b503b6d40ed4.tar.bz2 |
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>
Diffstat (limited to 'include/exec/translator.h')
-rw-r--r-- | include/exec/translator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/translator.h b/include/exec/translator.h index fff857a..31c39ab 100644 --- a/include/exec/translator.h +++ b/include/exec/translator.h @@ -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; /** |