[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 20/28] tcg: Move in_code_gen_buffer and tests to region.c
From: |
Alex Bennée |
Subject: |
Re: [PATCH v3 20/28] tcg: Move in_code_gen_buffer and tests to region.c |
Date: |
Wed, 09 Jun 2021 11:07:37 +0100 |
User-agent: |
mu4e 1.5.13; emacs 28.0.50 |
Richard Henderson <richard.henderson@linaro.org> writes:
> Shortly, the full code_gen_buffer will only be visible
> to region.c, so move in_code_gen_buffer out-of-line.
>
> Move the debugging versions of tcg_splitwx_to_{rx,rw}
> to region.c as well, so that the compiler gets to see
> the implementation of in_code_gen_buffer.
>
> This leaves exactly one use of in_code_gen_buffer outside
> of region.c, in cpu_restore_state. Which, being on the
> exception path, is not performance critical.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
- Re: [PATCH v3 20/28] tcg: Move in_code_gen_buffer and tests to region.c,
Alex Bennée <=