aboutsummaryrefslogtreecommitdiff
path: root/block/backup-top.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-03-10 11:06:17 -0600
committerRichard Henderson <richard.henderson@linaro.org>2021-06-11 09:27:08 -0700
commit01afda991971745948633529bf52df8fbf3710d1 (patch)
tree1b278b4d58f51f3744028cb1e0f5c14fe0d7d6ee /block/backup-top.h
parentc2471ca0defb3b4393ae4ae2d8698ced9613700e (diff)
downloadqemu-01afda991971745948633529bf52df8fbf3710d1.zip
qemu-01afda991971745948633529bf52df8fbf3710d1.tar.gz
qemu-01afda991971745948633529bf52df8fbf3710d1.tar.bz2
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 'block/backup-top.h')
0 files changed, 0 insertions, 0 deletions