summaryrefslogtreecommitdiffstats
path: root/include/tcg/tcg.h
diff options
context:
space:
mode:
authorRichard Henderson2020-10-29 17:17:30 +0100
committerRichard Henderson2021-01-07 16:09:41 +0100
commit755bf9e514e3f60ffa3f0495e6bc524fca74f3be (patch)
tree6e381a2092413ce847c1e2de0e37e4efb876647b /include/tcg/tcg.h
parenttcg: Adjust tcg_out_label for const (diff)
downloadqemu-755bf9e514e3f60ffa3f0495e6bc524fca74f3be.tar.gz
qemu-755bf9e514e3f60ffa3f0495e6bc524fca74f3be.tar.xz
qemu-755bf9e514e3f60ffa3f0495e6bc524fca74f3be.zip
tcg: Adjust tcg_register_jit for const
We must change all targets at once, since all must match the declaration in tcg.c. Reviewed-by: Joelle van Dyne <j@getutm.app> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg/tcg.h')
-rw-r--r--include/tcg/tcg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h
index e9af279738..e744a1ce02 100644
--- a/include/tcg/tcg.h
+++ b/include/tcg/tcg.h
@@ -1255,7 +1255,7 @@ typedef uintptr_t tcg_prologue_fn(CPUArchState *env, const void *tb_ptr);
extern tcg_prologue_fn *tcg_qemu_tb_exec;
#endif
-void tcg_register_jit(void *buf, size_t buf_size);
+void tcg_register_jit(const void *buf, size_t buf_size);
#if TCG_TARGET_MAYBE_vec
/* Return zero if the tuple (opc, type, vece) is unsupportable;