[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 14/43] tcg: Make DisasContextBase.tb const
From: |
Joelle van Dyne |
Subject: |
Re: [PATCH v4 14/43] tcg: Make DisasContextBase.tb const |
Date: |
Sat, 2 Jan 2021 12:05:56 -0800 |
On Mon, Dec 14, 2020 at 6:02 AM Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> 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.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> include/exec/gen-icount.h | 4 ++--
> include/exec/translator.h | 2 +-
> include/tcg/tcg-op.h | 2 +-
> accel/tcg/translator.c | 4 ++--
> target/arm/translate-a64.c | 2 +-
> tcg/tcg-op.c | 2 +-
> 6 files changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Joelle van Dyne <j@getutm.app>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v4 14/43] tcg: Make DisasContextBase.tb const,
Joelle van Dyne <=