Re: [PATCH v4 16/43] tcg: Use Error with alloc_code_gen_buffer

2021-01-02 Thread Joelle van Dyne
On Mon, Dec 14, 2020 at 6:02 AM Richard Henderson 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 > --- > accel/tcg/translate

[PATCH v4 16/43] tcg: Use Error with alloc_code_gen_buffer

2020-12-14 Thread Richard Henderson
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 --- accel/tcg/translate-all.c | 60 ++- 1 file changed, 34 i