Merge pull request #444 from dicej/immortal-fixies

fix GC crash for bootimage builds
This commit is contained in:
Joshua Warner 2015-07-07 21:31:32 -06:00
commit e7dbe89c74

View File

@ -1001,8 +1001,8 @@ void sweepFixies(Context* c)
assertT(c, c->markedFixies == 0); assertT(c, c->markedFixies == 0);
if (c->mode == Heap::MajorCollection) { if (c->mode == Heap::MajorCollection) {
free(c, &(c->tenuredFixies)); free(c, &(c->tenuredFixies), true);
free(c, &(c->dirtyTenuredFixies)); free(c, &(c->dirtyTenuredFixies), true);
c->tenuredFixieFootprint = 0; c->tenuredFixieFootprint = 0;
} }