diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-10-28 15:29:04 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-01-07 05:09:41 -1000 |
commit | 2be7d76b1557d3ee72cde3b2cf5d4abf25220fb2 (patch) | |
tree | 66282c6cae3255e5bba8376e509d5617d1bb60e5 /tcg/aarch64 | |
parent | ffd0e507369cd65de5a07b324a2fab03678aeae1 (diff) | |
download | qemu-2be7d76b1557d3ee72cde3b2cf5d4abf25220fb2.zip qemu-2be7d76b1557d3ee72cde3b2cf5d4abf25220fb2.tar.gz qemu-2be7d76b1557d3ee72cde3b2cf5d4abf25220fb2.tar.bz2 |
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/aarch64')
-rw-r--r-- | tcg/aarch64/tcg-target.c.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/aarch64/tcg-target.c.inc b/tcg/aarch64/tcg-target.c.inc index 96dc9f4..6d8152c 100644 --- a/tcg/aarch64/tcg-target.c.inc +++ b/tcg/aarch64/tcg-target.c.inc @@ -1329,7 +1329,7 @@ static inline void tcg_out_callr(TCGContext *s, TCGReg reg) tcg_out_insn(s, 3207, BLR, reg); } -static inline void tcg_out_call(TCGContext *s, tcg_insn_unit *target) +static inline void tcg_out_call(TCGContext *s, const tcg_insn_unit *target) { ptrdiff_t offset = target - s->code_ptr; if (offset == sextract64(offset, 0, 26)) { |