tcg: Make DisasContextBase.tb const
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 29 Oct 2020 16:49:05 +0000 (09:49 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 7 Jan 2021 15:09:41 +0000 (05:09 -1000)
commitd997143533e010b37363b10eddaf18ccb0e5659f
treeab81d43635bc78c894f5de4038da3993c2e1801e
parent1acbad0f278ad585bbfc46081b5b639447585be0
tcg: Make DisasContextBase.tb const

There is nothing within the translators that ought to be
changing the TranslationBlock data, so make it const.

This does not actually use the read-only copy of the
data structure that exists within the rx region.

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>
accel/tcg/translator.c
include/exec/gen-icount.h
include/exec/translator.h
include/tcg/tcg-op.h
target/arm/translate-a64.c
tcg/tcg-op.c