diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-10-28 20:14:54 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-01-07 05:09:41 -1000 |
commit | 6bc144237a857bc1238e5dcbc0b4f4ed94929463 (patch) | |
tree | 68c1bc0c7e907cfb2ce9f0159be125659a796016 /tcg/aarch64 | |
parent | 04a37d4ca4bfef595b2e9bec99eac8bfc806c76b (diff) |
tcg: Use Error with alloc_code_gen_buffer
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 <j@getutm.app>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/aarch64')
0 files changed, 0 insertions, 0 deletions