coins.backend.opt
Class AugmentCFG

java.lang.Object
  extended bycoins.backend.opt.AugmentCFG

public class AugmentCFG
extends java.lang.Object

Augment CFG so as to make exit reachable from every basic block. It finds infinite loop and then adds false edge going to exit.


Field Summary
static coins.backend.opt.AugmentCFG.Trigger trig
          Trigger class singleton.
 
Constructor Summary
AugmentCFG()
           
 
Method Summary
 void doIt(Function f)
          Augment CFG main process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trig

public static final coins.backend.opt.AugmentCFG.Trigger trig
Trigger class singleton.

Constructor Detail

AugmentCFG

public AugmentCFG()
Method Detail

doIt

public void doIt(Function f)
Augment CFG main process.