Class: Crokus::CFGOptimizer
- Inherits:
-
Object
- Object
- Crokus::CFGOptimizer
- Defined in:
- lib/crokus/cfg_optim.rb
Instance Method Summary collapse
Instance Method Details
#clean(cfg) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/crokus/cfg_optim.rb', line 5 def clean cfg puts " "*5+"|--[+] optimizing cfg '#{cfg.name}'" unless $options[:mute] @cfg=cfg @visited=[] @new_succs={} optim_rec cfg.starter cfg end |