OSDN Git Service

tcg: Adjust TCGLabel for const
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 30 Oct 2020 22:55:28 +0000 (15:55 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 7 Jan 2021 15:09:41 +0000 (05:09 -1000)
commitffd0e507369cd65de5a07b324a2fab03678aeae1
tree892fa9cde3a05b2887380562a5dae3ac12167cc2
parentdb0c51a380394b21b33a6294367aff03ab06b286
tcg: Adjust TCGLabel for const

Change TCGLabel.u.value_ptr to const, and initialize it with
tcg_splitwx_to_rx.  Propagate const through tcg/host/ only
as far as needed to avoid errors from the value_ptr change.

Reviewed-by: Joelle van Dyne <j@getutm.app>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg.h
tcg/aarch64/tcg-target.c.inc
tcg/arm/tcg-target.c.inc
tcg/mips/tcg-target.c.inc
tcg/ppc/tcg-target.c.inc
tcg/s390/tcg-target.c.inc
tcg/tcg.c