summaryrefslogtreecommitdiff
path: root/dyngen.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-07-11 15:17:41 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-07-11 15:17:41 +0000
commit9621339dcacc148a86d312d1e71623202c9df7db (patch)
treef9fc7030ac6c63cf302f03c8297990e0fa90b205 /dyngen.h
parentede28208d86096cd80699d8105f8ee2e909c4268 (diff)
changed basic block exit generation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@322 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.h')
-rw-r--r--dyngen.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/dyngen.h b/dyngen.h
index 645ce4197..47fe263e4 100644
--- a/dyngen.h
+++ b/dyngen.h
@@ -152,11 +152,7 @@ static uint8_t *arm_flush_ldr(uint8_t *gen_code_ptr,
data_size = (uint8_t *)data_end - (uint8_t *)data_start;
- if (!gen_jmp) {
- /* b exec_loop */
- arm_reloc_pc24((uint32_t *)gen_code_ptr, 0xeafffffe, (long)(&exec_loop));
- gen_code_ptr += 4;
- } else {
+ if (gen_jmp) {
/* generate branch to skip the data */
if (data_size == 0)
return gen_code_ptr;