]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
remove assertions
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 Jan 2010 08:42:10 +0000 (09:42 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 19 Jan 2010 22:31:03 +0000 (16:31 -0600)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpu-exec.c

index 415988644f9efde77644593c09e98c60813bf53c..13b8daa912821003fc56b03df4a3e1e046f784ce 100644 (file)
@@ -22,8 +22,6 @@
 #include "tcg.h"
 #include "kvm.h"
 
-#include <assert.h>
-
 #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(;;) */