Skip to content
This repository was archived by the owner on Feb 3, 2020. It is now read-only.

Commit dd09349

Browse files
fixup! add ARM CPU support based on qemu1.0.0-stable arm tcg
1 parent 4af0068 commit dd09349

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/exec-tb.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,6 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, int
402402
current_tb_modified = 1;
403403
cpu_restore_state(env, env->mem_io_pc);
404404
cpu_get_tb_cpu_state(env, &current_pc, &current_cs_base, &current_flags);
405-
#if defined(TARGET_I386) || defined(TARGET_X86_64)
406405
// When an instruction modifies itself, advance pc to the next instruction
407406
// and abort the tb asap.
408407
int instr_size = tb_get_instruction_size(current_tb, current_tb->cs_base + env->eip);
@@ -411,7 +410,6 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, int
411410
env->eip += instr_size;
412411
tcg_target_force_tb_exit(env->mem_io_pc, (uintptr_t)(current_tb->tc.ptr + current_tb->tc.size));
413412
}
414-
#endif
415413
}
416414
#endif /* TARGET_HAS_PRECISE_SMC */
417415
/* we need to do that to handle the case where a signal

0 commit comments

Comments
 (0)