qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 12/26] tcg: Create tcg_init


From: Richard Henderson
Subject: Re: [PATCH 12/26] tcg: Create tcg_init
Date: Sat, 13 Mar 2021 13:28:53 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

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.henderson@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

[Prev in Thread] Current Thread [Next in Thread]