Bug 1087828 - Make sure type objects have been swept when modifying their flags, r=billm.