static void cleanUp(IR ir){
  for (Enumeration<Instruction> e=ir.forwardInstrEnumerator(); e.hasMoreElements(); ) {
    Instruction s=e.nextElement();
    if (s.operator() == PI) {
      RegisterOperand result=GuardedUnary.getResult(s);
      Operator mv=IRTools.getMoveOp(result.getType());
      Operand val=GuardedUnary.getVal(s);
      Move.mutate(s,mv,result,val);
    }
  }
  ir.actualSSAOptions=null;
}

static void cleanUp ( IR ir ) { for ( Enumeration < Instruction > e = ir . forwardInstrEnumerator ( ) ; e . hasMoreElements ( ) ; ) { Instruction s = e . nextElement ( ) ; if ( s . operator ( ) == PI ) { RegisterOperand result = GuardedUnary . getResult ( s ) ; Operator mv = IRTools . getMoveOp ( result . getType ( ) ) ; Operand val = GuardedUnary . getVal ( s ) ; Move . mutate ( s , mv , result , val ) ; } } ir . actualSSAOptions = null ; }
change all pi nodes to int_move instructions < p > side effect : invalidates ssa state
