aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2017-07-12 00:08:21 -0400
committerRichard Henderson <richard.henderson@linaro.org>2017-10-10 07:37:10 -0700
commite7e168f41364c6e83d0f75fc1b3ce7f9c41ccf76 (patch)
treeb410b39788fef7c80343a770c26fce09e37b6bf2 /tcg/tcg.c
parent6eb062abd66611333056633899d3f09c2e795f4c (diff)
downloadqemu-e7e168f41364c6e83d0f75fc1b3ce7f9c41ccf76.zip
qemu-e7e168f41364c6e83d0f75fc1b3ce7f9c41ccf76.tar.gz
qemu-e7e168f41364c6e83d0f75fc1b3ce7f9c41ccf76.tar.bz2
exec-all: extract tb->tc_* into a separate struct tc_tb
In preparation for adding tc.size to be able to keep track of TB's using the binary search tree implementation from glib. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r--tcg/tcg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index dff9999..a874bdd 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -2836,8 +2836,8 @@ int tcg_gen_code(TCGContext *s, TranslationBlock *tb)
tcg_reg_alloc_start(s);
- s->code_buf = tb->tc_ptr;
- s->code_ptr = tb->tc_ptr;
+ s->code_buf = tb->tc.ptr;
+ s->code_ptr = tb->tc.ptr;
#ifdef TCG_TARGET_NEED_LDST_LABELS
s->ldst_labels = NULL;