OSDN Git Service

accel/tcg: Move alloc_code_gen_buffer to tcg/region.c
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 9 Mar 2021 23:02:48 +0000 (17:02 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 11 Jun 2021 16:26:28 +0000 (09:26 -0700)
commitc46184a90a5a0209960b7c0813aff4feb1e373e1
treeaf5c0fba9d39fd31386b8e3cf47b18c4beab22a2
parent324b9d462ea227f10a25c80421046e6187247116
accel/tcg: Move alloc_code_gen_buffer to tcg/region.c

Buffer management is integral to tcg.  Do not leave the allocation
to code outside of tcg/.  This is code movement, with further
cleanups to follow.

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