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 /bsd-user/main.c | |
parent | 04a37d4ca4bfef595b2e9bec99eac8bfc806c76b (diff) | |
download | qemu-6bc144237a857bc1238e5dcbc0b4f4ed94929463.zip qemu-6bc144237a857bc1238e5dcbc0b4f4ed94929463.tar.gz qemu-6bc144237a857bc1238e5dcbc0b4f4ed94929463.tar.bz2 |
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 'bsd-user/main.c')
0 files changed, 0 insertions, 0 deletions