update Generator::generate function (part 2)
delete  class deadloopFlagValues