aboutsummaryrefslogtreecommitdiff
path: root/dyngen.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-18 22:06:47 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-18 22:06:47 +0000
commit630be16f6c663de0b39eb36dd5ebfe0aa4efbc6b (patch)
tree01fbef0e3bc56442a32fbeb85f1efae827c14fa2 /dyngen.c
parent44a91cae103d8c6f76236da1531aa0e65b858f38 (diff)
downloadqemu-630be16f6c663de0b39eb36dd5ebfe0aa4efbc6b.zip
qemu-630be16f6c663de0b39eb36dd5ebfe0aa4efbc6b.tar.gz
qemu-630be16f6c663de0b39eb36dd5ebfe0aa4efbc6b.tar.bz2
alpha fix (Falk Hueffner)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@560 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.c')
-rw-r--r--dyngen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dyngen.c b/dyngen.c
index 390fc3a..89e9824 100644
--- a/dyngen.c
+++ b/dyngen.c
@@ -485,8 +485,11 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
{
uint8_t *p;
p = p_end - 4;
+#if 0
+ /* XXX: check why it occurs */
if (p == p_start)
error("empty code for %s", name);
+#endif
if (get32((uint32_t *)p) != 0x6bfa8001)
error("ret expected at the end of %s", name);
copy_size = p - p_start;