summaryrefslogtreecommitdiff
path: root/include/disas/disas.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-09-10 12:15:04 -0700
committerRichard Henderson <richard.henderson@linaro.org>2020-10-03 04:25:14 -0500
commit4c389f6edf4a6bbdbc3dbcd7c4d639d868d0cf0c (patch)
tree154fe3eee670f58542de95ccb88d5f3fb15fa5a0 /include/disas/disas.h
parentbcf368626cb33c4d8bf1c0c8fd1dcafb3c9f8d53 (diff)
downloadqemu-4c389f6edf4a6bbdbc3dbcd7c4d639d868d0cf0c.zip
disas: Move host asm annotations to tb_gen_code
Instead of creating GStrings and passing them into log_disas, just print the annotations directly in tb_gen_code. Fix the annotations for the slow paths of the TB, after the part implementing the final guest instruction. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/disas/disas.h')
-rw-r--r--include/disas/disas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/disas/disas.h b/include/disas/disas.h
index 1b6e035e32..36c33f6f19 100644
--- a/include/disas/disas.h
+++ b/include/disas/disas.h
@@ -7,7 +7,7 @@
#include "cpu.h"
/* Disassemble this for me please... (debugging). */
-void disas(FILE *out, void *code, unsigned long size, const char *note);
+void disas(FILE *out, void *code, unsigned long size);
void target_disas(FILE *out, CPUState *cpu, target_ulong code,
target_ulong size);