* src/z80/gen.c (genFunction, genEndFunction): fixed bug 1160666,