summaryrefslogtreecommitdiffstats
path: root/tcg/tci
diff options
context:
space:
mode:
authorRichard Henderson2020-10-28 23:29:04 +0100
committerRichard Henderson2021-01-07 16:09:41 +0100
commit2be7d76b1557d3ee72cde3b2cf5d4abf25220fb2 (patch)
tree66282c6cae3255e5bba8376e509d5617d1bb60e5 /tcg/tci
parenttcg: Adjust TCGLabel for const (diff)
downloadqemu-2be7d76b1557d3ee72cde3b2cf5d4abf25220fb2.tar.gz
qemu-2be7d76b1557d3ee72cde3b2cf5d4abf25220fb2.tar.xz
qemu-2be7d76b1557d3ee72cde3b2cf5d4abf25220fb2.zip
tcg: Adjust tcg_out_call 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> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci')
-rw-r--r--tcg/tci/tcg-target.c.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc
index 231b9b1775..d5a4d9d37c 100644
--- a/tcg/tci/tcg-target.c.inc
+++ b/tcg/tci/tcg-target.c.inc
@@ -545,7 +545,7 @@ static void tcg_out_movi(TCGContext *s, TCGType type,
old_code_ptr[1] = s->code_ptr - old_code_ptr;
}
-static inline void tcg_out_call(TCGContext *s, tcg_insn_unit *arg)
+static inline void tcg_out_call(TCGContext *s, const tcg_insn_unit *arg)
{
uint8_t *old_code_ptr = s->code_ptr;
tcg_out_op_t(s, INDEX_op_call);