aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpu-exec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index a426db9..2f119a9 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -588,11 +588,9 @@ int cpu_exec(CPUState *env1)
/* see if we can patch the calling TB. When the TB
spans two pages, we cannot safely do a direct
jump. */
- {
- if (next_tb != 0 && tb->page_addr[1] == -1) {
+ if (next_tb != 0 && tb->page_addr[1] == -1) {
tb_add_jump((TranslationBlock *)(next_tb & ~3), next_tb & 3, tb);
}
- }
spin_unlock(&tb_lock);
env->current_tb = tb;