diff options
author | Evgeny Voevodin <evgenyvoevodin@gmail.com> | 2013-02-01 01:47:23 +0700 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-02-16 10:41:16 +0000 |
commit | 5e5f07e08f7ed8c8eb9b02d9f9c3c79cf95d65ee (patch) | |
tree | e5e495dbded2697b180c04de308701755297731b /tcg/tcg.h | |
parent | 0b0d3320db74cde233ee7855ad32a9c121d20eb4 (diff) |
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 <evgenyvoevodin@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r-- | tcg/tcg.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |