[gc][bugfix] sweeping failed when the heap gets completely

exhausted (i.e. all blocks' size are zero)
This commit is contained in:
Yuichi Nishiwaki
2013-11-29 12:10:10 +09:00
parent f03a153774
commit 21f2c58a53
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ union header {
};
struct pic_heap {
union header base, *freep;
union header base, *freep, *endp;
size_t heap_size;
};