From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVhl8-0003qe-7O for qemu-devel@nongnu.org; Fri, 15 Jan 2010 03:42:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVhl2-0003m6-TD for qemu-devel@nongnu.org; Fri, 15 Jan 2010 03:42:21 -0500 Received: from [199.232.76.173] (port=38982 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVhl2-0003lx-Mz for qemu-devel@nongnu.org; Fri, 15 Jan 2010 03:42:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39045) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVhl2-0003vl-7j for qemu-devel@nongnu.org; Fri, 15 Jan 2010 03:42:16 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0F8gFmq020339 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Jan 2010 03:42:15 -0500 Received: from localhost.localdomain (vpn2-8-52.ams2.redhat.com [10.36.8.52]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0F8gAid030958 for ; Fri, 15 Jan 2010 03:42:14 -0500 From: Paolo Bonzini Date: Fri, 15 Jan 2010 09:42:10 +0100 Message-Id: <1263544930-18620-5-git-send-email-pbonzini@redhat.com> In-Reply-To: <1263544930-18620-1-git-send-email-pbonzini@redhat.com> References: <1263544930-18620-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 4/4] remove assertions List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Paolo Bonzini --- cpu-exec.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/cpu-exec.c b/cpu-exec.c index f00151f..0256edf 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -22,8 +22,6 @@ #include "tcg.h" #include "kvm.h" -#include - #if !defined(CONFIG_SOFTMMU) #undef EAX #undef ECX @@ -262,7 +260,6 @@ int cpu_exec(CPUState *env1) env = cpu_single_env; #define env cpu_single_env #endif - assert (env->current_tb == NULL); /* if an exception is pending, we execute it here */ if (env->exception_index >= 0) { if (env->exception_index >= EXCP_INTERRUPT) { @@ -640,7 +637,6 @@ int cpu_exec(CPUState *env1) } } } - assert (env->current_tb == NULL); /* reset soft MMU for next block (it can currently only be set by a memory fault) */ } /* for(;;) */ -- 1.6.5.2