Commit 630be16f6c663de0b39eb36dd5ebfe0aa4efbc6b

Authored by bellard
1 parent 44a91cae

alpha fix (Falk Hueffner)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@560 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 0 deletions
dyngen.c
@@ -485,8 +485,11 @@ void gen_code(const char *name, host_ulong offset, host_ulong size, @@ -485,8 +485,11 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
485 { 485 {
486 uint8_t *p; 486 uint8_t *p;
487 p = p_end - 4; 487 p = p_end - 4;
  488 +#if 0
  489 + /* XXX: check why it occurs */
488 if (p == p_start) 490 if (p == p_start)
489 error("empty code for %s", name); 491 error("empty code for %s", name);
  492 +#endif
490 if (get32((uint32_t *)p) != 0x6bfa8001) 493 if (get32((uint32_t *)p) != 0x6bfa8001)
491 error("ret expected at the end of %s", name); 494 error("ret expected at the end of %s", name);
492 copy_size = p - p_start; 495 copy_size = p - p_start;