summaryrefslogtreecommitdiffstats
path: root/accel/tcg/cpu-exec.c
diff options
context:
space:
mode:
authorEmilio G. Cota2017-07-12 20:40:28 +0200
committerRichard Henderson2017-10-24 22:53:42 +0200
commitbe1e01171b556807198c84feac7cf4bca0d904c2 (patch)
treea8a0022d3438d36a4469c109762b47d923aa21c9 /accel/tcg/cpu-exec.c
parenttranslate-all: use a binary search tree to track TBs in TBContext (diff)
downloadqemu-be1e01171b556807198c84feac7cf4bca0d904c2.tar.gz
qemu-be1e01171b556807198c84feac7cf4bca0d904c2.tar.xz
qemu-be1e01171b556807198c84feac7cf4bca0d904c2.zip
exec-all: rename tb_free to tb_remove
We don't really free anything in this function anymore; we just remove the TB from the binary search tree. Suggested-by: Alex Bennée <alex.bennee@linaro.org> 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 'accel/tcg/cpu-exec.c')
-rw-r--r--accel/tcg/cpu-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c
index b44c7941aa..9b58cdee28 100644
--- a/accel/tcg/cpu-exec.c
+++ b/accel/tcg/cpu-exec.c
@@ -220,7 +220,7 @@ static void cpu_exec_nocache(CPUState *cpu, int max_cycles,
tb_lock();
tb_phys_invalidate(tb, -1);
- tb_free(tb);
+ tb_remove(tb);
tb_unlock();
}
#endif