From 5e5f07e08f7ed8c8eb9b02d9f9c3c79cf95d65ee Mon Sep 17 00:00:00 2001 From: Evgeny Voevodin Date: Fri, 1 Feb 2013 01:47:23 +0700 Subject: TCG: Move translation block variables to new context inside tcg_ctx: tb_ctx It's worth to clean-up translation blocks variables and move them into one context as was suggested by Swirl. Also if we use this context directly inside tcg_ctx, then it speeds up code generation a bit. Signed-off-by: Evgeny Voevodin Signed-off-by: Blue Swirl --- tcg/tcg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcg') diff --git a/tcg/tcg.h b/tcg/tcg.h index 4086e985e3..51c8176550 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -471,6 +471,8 @@ struct TCGContext { size_t code_gen_buffer_max_size; uint8_t *code_gen_ptr; + TBContext tb_ctx; + #if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU) /* labels info for qemu_ld/st IRs The labels help to generate TLB miss case codes at the end of TB */ -- cgit v1.2.3