public final void init(IR ir){
  LiveInterval livenessInformation=ir.getLivenessInformation();
  this.regAllocState=ir.MIRInfo.regAllocState;
  for (Enumeration<BasicBlock> e=ir.getBasicBlocks(); e.hasMoreElements(); ) {
    BasicBlock b=e.nextElement();
    processBlock(b,livenessInformation);
  }
}

public final void init ( IR ir ) { LiveInterval livenessInformation = ir . getLivenessInformation ( ) ; this . regAllocState = ir . MIRInfo . regAllocState ; for ( Enumeration < BasicBlock > e = ir . getBasicBlocks ( ) ; e . hasMoreElements ( ) ; ) { BasicBlock b = e . nextElement ( ) ; processBlock ( b , livenessInformation ) ; } }
records all the register restrictions dictated by an ir . precondition : the instructions in each basic block are numbered in increasing order before calling this .
