Commit db097cd313ee99a9ba9eaf225a0fee667df862af
1 parent
60ea3b61
Dont try to keep the tlb and the jmp cache synchronized.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4557 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
0 additions
and
3 deletions
exec.c
@@ -1745,9 +1745,6 @@ int tlb_set_page_exec(CPUState *env, target_ulong vaddr, | @@ -1745,9 +1745,6 @@ int tlb_set_page_exec(CPUState *env, target_ulong vaddr, | ||
1745 | te->addr_read = -1; | 1745 | te->addr_read = -1; |
1746 | } | 1746 | } |
1747 | 1747 | ||
1748 | - if (te->addr_code != -1) { | ||
1749 | - tlb_flush_jmp_cache(env, te->addr_code); | ||
1750 | - } | ||
1751 | if (prot & PAGE_EXEC) { | 1748 | if (prot & PAGE_EXEC) { |
1752 | te->addr_code = address; | 1749 | te->addr_code = address; |
1753 | } else { | 1750 | } else { |