Revert "[bugfix] do not fuse end-of-page block into other blocks"

This reverts commit 5656590fa0.
This commit is contained in:
Yuichi Nishiwaki 2013-11-29 12:02:29 +09:00
parent ab5de1c0c4
commit 4c5d3b4257
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ gc_free(pic_state *pic, union header *p)
break; break;
} }
} }
if (p + p->s.size == bp->s.ptr && bp->s.ptr->s.size > 0) { if (p + p->s.size == bp->s.ptr) {
p->s.size += bp->s.ptr->s.size; p->s.size += bp->s.ptr->s.size;
p->s.ptr = bp->s.ptr->s.ptr; p->s.ptr = bp->s.ptr->s.ptr;
} }