On 3/13/21 1:27 PM, Philippe Mathieu-Daudé wrote:
On 3/11/21 1:21 AM, Richard Henderson wrote:
Perform both tcg_context_init and tcg_region_init.
Do not leave this split to the caller.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  include/tcg/tcg.h         | 3 +--
  tcg/internal.h            | 1 +
  accel/tcg/translate-all.c | 3 +--
  tcg/tcg.c                 | 9 ++++++++-
  4 files changed, 11 insertions(+), 5 deletions(-)

What about uninlining in_code_gen_buffer() and restricting
tcg_init_ctx to tcg/tcg.c?


I have already uninlined in_code_gen_buffer for v2.

I hadn't gotten around to making tcg_init_ctx static yet. But it was in the back of my mind to do so.


r~

Reply via email to