]> Git Repo - qemu.git/commit
tcg: Use Error with alloc_code_gen_buffer
authorRichard Henderson <[email protected]>
Thu, 29 Oct 2020 03:14:54 +0000 (20:14 -0700)
committerRichard Henderson <[email protected]>
Thu, 7 Jan 2021 15:09:41 +0000 (05:09 -1000)
commit6bc144237a857bc1238e5dcbc0b4f4ed94929463
tree68c1bc0c7e907cfb2ce9f0159be125659a796016
parent04a37d4ca4bfef595b2e9bec99eac8bfc806c76b
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 <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
accel/tcg/translate-all.c
This page took 0.024899 seconds and 4 git commands to generate.