From patchwork Fri Jan 15 08:42:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4/4] remove assertions Date: Thu, 14 Jan 2010 22:42:10 -0000 From: Paolo Bonzini X-Patchwork-Id: 42957 Message-Id: <1263544930-18620-5-git-send-email-pbonzini@redhat.com> 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(;;) */