[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 16/43] tcg: Use Error with alloc_code_gen_buffer
From: |
Joelle van Dyne |
Subject: |
Re: [PATCH v4 16/43] tcg: Use Error with alloc_code_gen_buffer |
Date: |
Sat, 2 Jan 2021 12:09:28 -0800 |
On Mon, Dec 14, 2020 at 6:02 AM Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Report better error messages than just "could not allocate".
> Let alloc_code_gen_buffer set ctx->code_gen_buffer_size
> and ctx->code_gen_buffer, and simply return bool.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> accel/tcg/translate-all.c | 60 ++++++++++++++++++++++-----------------
> 1 file changed, 34 insertions(+), 26 deletions(-)
Reviewed-by: Joelle van Dyne <j@getutm.app>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v4 16/43] tcg: Use Error with alloc_code_gen_buffer,
Joelle van Dyne <=