int dst = 0;
  static void replaceBlockInPhis(OPT_BasicBlock target,                                 OPT_BasicBlock B1, OPT_BasicBlock B2) {    for (OPT_InstructionEnumeration e = target.forwardRealInstrEnumerator();         e.hasMoreElements();) {      OPT_Instruction s = e.next();      if (s.operator() != PHI) return; // all done (assume PHIs are first!)      int numPairs = Phi.getNumberOfPreds(s);      int dst = 0;      for (int src=0; src<numPairs; src++) {        OPT_BasicBlockOperand bbop = Phi.getPred(s, src);        if (bbop.block == B1) {          Phi.setPred(s, src, new OPT_BasicBlockOperand(B2));        }      }    }  }