mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
tcg: Add gen_tb to TCGContext
This can replace four other variables that are references into the TranslationBlock structure. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
3a50f424c9
commit
b7e4afbd9f
4 changed files with 14 additions and 27 deletions
|
@ -350,7 +350,7 @@ TranslationBlock *tb_gen_code(CPUState *cpu,
|
|||
tb->trace_vcpu_dstate = *cpu->trace_dstate;
|
||||
tb_set_page_addr0(tb, phys_pc);
|
||||
tb_set_page_addr1(tb, -1);
|
||||
tcg_ctx->tb_cflags = cflags;
|
||||
tcg_ctx->gen_tb = tb;
|
||||
tb_overflow:
|
||||
|
||||
#ifdef CONFIG_PROFILER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue