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

2021-01-05 Thread Philippe Mathieu-Daudé
On 1/5/21 6:19 PM, 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. > > Reviewed-by: Joelle van Dyne > Signed-off-by: Richard Henderson > --- > ac

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

2021-01-05 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. Reviewed-by: Joelle van Dyne Signed-off-by: Richard Henderson --- accel/tcg/translate-all.c | 60 ++-