diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-03-09 08:45:58 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-06-11 09:26:28 -0700 |
commit | b0a0794a0f16e2160d8d35b14cca8f5e81b8b67e (patch) | |
tree | 493dd7155ef6293b8798f1855662f7ec97b744bb /bsd-user/main.c | |
parent | c6347541728b0face2c509c4ebc8ba6fdf807fc6 (diff) |
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>
Diffstat (limited to 'bsd-user/main.c')
-rw-r--r-- | bsd-user/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index 9d370bc8f6..270cf2ca70 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -879,7 +879,6 @@ int main(int argc, char **argv) * the real value of GUEST_BASE into account. */ tcg_prologue_init(tcg_ctx); - tcg_region_init(); /* build Task State */ memset(ts, 0, sizeof(TaskState)); |