diff options
author | Richard Henderson | 2017-10-13 21:22:28 +0200 |
---|---|---|
committer | Richard Henderson | 2017-10-24 22:53:42 +0200 |
commit | 416986d3f97329655e30da7271a2d11c6d707b06 (patch) | |
tree | 60548880c8d50ff6d919f002597924620e957f9c /accel/tcg/translate-all.c | |
parent | tcg: Add CF_LAST_IO + CF_USE_ICOUNT to CF_HASH_MASK (diff) | |
download | qemu-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.c | 3 |
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)) { |