]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Re-order tcg_region_init vs tcg_prologue_init
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 9 Mar 2021 16:45:58 +0000 (08:45 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 11 Jun 2021 16:26:28 +0000 (09:26 -0700)
commitb0a0794a0f16e2160d8d35b14cca8f5e81b8b67e
tree493dd7155ef6293b8798f1855662f7ec97b744bb
parentc6347541728b0face2c509c4ebc8ba6fdf807fc6
tcg: Re-order tcg_region_init vs tcg_prologue_init

Instead of delaying tcg_region_init until after tcg_prologue_init
is complete, do tcg_region_init first and let tcg_prologue_init
shrink the first region by the size of the generated prologue.

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/tcg-all.c
accel/tcg/translate-all.c
bsd-user/main.c
linux-user/main.c
tcg/tcg.c