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>
This commit is contained in:
Emilio G. Cota 2017-07-12 00:08:21 -04:00 committed by Richard Henderson
parent 6eb062abd6
commit e7e168f413
5 changed files with 33 additions and 25 deletions

View file

@ -157,9 +157,9 @@ void *HELPER(lookup_tb_ptr)(CPUArchState *env)
}
qemu_log_mask_and_addr(CPU_LOG_EXEC, pc,
"Chain %p [%d: " TARGET_FMT_lx "] %s\n",
tb->tc_ptr, cpu->cpu_index, pc,
tb->tc.ptr, cpu->cpu_index, pc,
lookup_symbol(pc));
return tb->tc_ptr;
return tb->tc.ptr;
}
void HELPER(exit_atomic)(CPUArchState *env)