mirror of https://github.com/proxmox/mirror_qemu
remove assertions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>master
parent
6113d6d316
commit
f8fb2fa859
|
@ -22,8 +22,6 @@
|
||||||
#include "tcg.h"
|
#include "tcg.h"
|
||||||
#include "kvm.h"
|
#include "kvm.h"
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#if !defined(CONFIG_SOFTMMU)
|
#if !defined(CONFIG_SOFTMMU)
|
||||||
#undef EAX
|
#undef EAX
|
||||||
#undef ECX
|
#undef ECX
|
||||||
|
@ -262,7 +260,6 @@ int cpu_exec(CPUState *env1)
|
||||||
env = cpu_single_env;
|
env = cpu_single_env;
|
||||||
#define env cpu_single_env
|
#define env cpu_single_env
|
||||||
#endif
|
#endif
|
||||||
assert (env->current_tb == NULL);
|
|
||||||
/* if an exception is pending, we execute it here */
|
/* if an exception is pending, we execute it here */
|
||||||
if (env->exception_index >= 0) {
|
if (env->exception_index >= 0) {
|
||||||
if (env->exception_index >= EXCP_INTERRUPT) {
|
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
|
/* reset soft MMU for next block (it can currently
|
||||||
only be set by a memory fault) */
|
only be set by a memory fault) */
|
||||||
} /* for(;;) */
|
} /* for(;;) */
|
||||||
|
|
Loading…
Reference in New Issue