summaryrefslogtreecommitdiffstats
path: root/accel/tcg/translate-all.c
diff options
context:
space:
mode:
authorRichard Henderson2017-10-13 21:22:28 +0200
committerRichard Henderson2017-10-24 22:53:42 +0200
commit416986d3f97329655e30da7271a2d11c6d707b06 (patch)
tree60548880c8d50ff6d919f002597924620e957f9c /accel/tcg/translate-all.c
parenttcg: Add CF_LAST_IO + CF_USE_ICOUNT to CF_HASH_MASK (diff)
downloadqemu-416986d3f97329655e30da7271a2d11c6d707b06.tar.gz
qemu-416986d3f97329655e30da7271a2d11c6d707b06.tar.xz
qemu-416986d3f97329655e30da7271a2d11c6d707b06.zip
tcg: Remove CF_IGNORE_ICOUNT
Now that we have curr_cflags, we can include CF_USE_ICOUNT early and then remove it as necessary. Reviewed-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/translate-all.c')
-rw-r--r--accel/tcg/translate-all.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c
index dcd47cd692..9fa94340dd 100644
--- a/accel/tcg/translate-all.c
+++ b/accel/tcg/translate-all.c
@@ -1274,9 +1274,6 @@ TranslationBlock *tb_gen_code(CPUState *cpu,
assert_memory_lock();
phys_pc = get_page_addr_code(env, pc);
- if (use_icount && !(cflags & CF_IGNORE_ICOUNT)) {
- cflags |= CF_USE_ICOUNT;
- }
tb = tb_alloc(pc);
if (unlikely(!tb)) {