diff options
| author | Richard Henderson | 2021-03-10 18:06:17 +0100 |
|---|---|---|
| committer | Richard Henderson | 2021-06-11 18:27:08 +0200 |
| commit | 01afda991971745948633529bf52df8fbf3710d1 (patch) | |
| tree | 1b278b4d58f51f3744028cb1e0f5c14fe0d7d6ee /include | |
| parent | tcg: Rename region.start to region.after_prologue (diff) | |
| download | qemu-01afda991971745948633529bf52df8fbf3710d1.tar.gz qemu-01afda991971745948633529bf52df8fbf3710d1.tar.xz qemu-01afda991971745948633529bf52df8fbf3710d1.zip | |
tcg: Tidy tcg_n_regions
Compute the value using straight division and bounds,
rather than a loop. Pass in tb_size rather than reading
from tcg_init_ctx.code_gen_buffer_size,
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 'include')
0 files changed, 0 insertions, 0 deletions
