OSDN Git Service

tcg: Allocate code_gen_buffer into struct tcg_region_state
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 10 Mar 2021 18:34:27 +0000 (12:34 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 14 Jun 2021 00:42:03 +0000 (17:42 -0700)
commit032a4b1ba09ab15bb9331a75d49db186e782c00c
treebc8f15a896f0093c74babca6f4ec0a6dfdf0a968
parent47d590df34b22595f1a6f9e8aafe5531cd2e4b13
tcg: Allocate code_gen_buffer into struct tcg_region_state

Do not mess around with setting values within tcg_init_ctx.
Put the values into 'region' directly, which is where they
will live for the lifetime of the program.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/region.c