summaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:18:39 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:18:39 +0000
commit0ac087f1f3ae036a477fa4b69f29a08a0f504033 (patch)
treed496693d41aad20503cb0edbebe77c2dc555fc66 /cpu-exec.c
parent3878e2c9b2578549c76639bfc307b0ba272a58b1 (diff)
removed unused code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4598 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 56bd2f9bb4..e2826efc8c 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -621,13 +621,6 @@ int cpu_exec(CPUState *env1)
env->current_tb = NULL;
/* reset soft MMU for next block (it can currently
only be set by a memory fault) */
-#if defined(TARGET_I386) && !defined(CONFIG_SOFTMMU)
- if (env->hflags & HF_SOFTMMU_MASK) {
- env->hflags &= ~HF_SOFTMMU_MASK;
- /* do not allow linking to another block */
- next_tb = 0;
- }
-#endif
#if defined(USE_KQEMU)
#define MIN_CYCLE_BEFORE_SWITCH (100 * 1000)
if (kqemu_is_ok(env) &&