aboutsummaryrefslogtreecommitdiff
path: root/accel
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2018-09-17 19:08:54 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-02 19:09:13 +0200
commitdcf6760a64f6cacc5b7a77b0e530f3fffef5e189 (patch)
tree942f407027744c04ddc40c22a9c41002ca1bf046 /accel
parentc921370b22cba70ada74cef43f7d36c011648ec6 (diff)
downloadqemu-dcf6760a64f6cacc5b7a77b0e530f3fffef5e189.zip
qemu-dcf6760a64f6cacc5b7a77b0e530f3fffef5e189.tar.gz
qemu-dcf6760a64f6cacc5b7a77b0e530f3fffef5e189.tar.bz2
accel/tcg: Remove dead code
The global cpu_single_env variable has been removed more than 5 years ago, so apparently nobody used this dead debug code in that timeframe anymore. Thus let's remove it completely now. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1537204134-15905-1-git-send-email-thuth@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'accel')
-rw-r--r--accel/tcg/translate-all.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c
index 9ffbbc2..ad5c758 100644
--- a/accel/tcg/translate-all.c
+++ b/accel/tcg/translate-all.c
@@ -2009,15 +2009,6 @@ void tb_invalidate_phys_page_fast(struct page_collection *pages,
{
PageDesc *p;
-#if 0
- if (1) {
- qemu_log("modifying code at 0x%x size=%d EIP=%x PC=%08x\n",
- cpu_single_env->mem_io_vaddr, len,
- cpu_single_env->eip,
- cpu_single_env->eip +
- (intptr_t)cpu_single_env->segs[R_CS].base);
- }
-#endif
assert_memory_lock();
p = page_find(start >> TARGET_PAGE_BITS);