gen: don't remove the last return jump