tcg: Make tb arg to synchronize_from_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>
Showing
- include/hw/core/cpu.h 2 additions, 1 deletioninclude/hw/core/cpu.h
- target/arm/cpu.c 2 additions, 1 deletiontarget/arm/cpu.c
- target/avr/cpu.c 2 additions, 1 deletiontarget/avr/cpu.c
- target/hppa/cpu.c 2 additions, 1 deletiontarget/hppa/cpu.c
- target/i386/tcg/tcg-cpu.c 2 additions, 1 deletiontarget/i386/tcg/tcg-cpu.c
- target/microblaze/cpu.c 2 additions, 1 deletiontarget/microblaze/cpu.c
- target/mips/cpu.c 2 additions, 1 deletiontarget/mips/cpu.c
- target/riscv/cpu.c 2 additions, 1 deletiontarget/riscv/cpu.c
- target/rx/cpu.c 2 additions, 1 deletiontarget/rx/cpu.c
- target/sh4/cpu.c 2 additions, 1 deletiontarget/sh4/cpu.c
- target/sparc/cpu.c 2 additions, 1 deletiontarget/sparc/cpu.c
- target/tricore/cpu.c 1 addition, 1 deletiontarget/tricore/cpu.c
Loading
Please register or sign in to comment