示例#1
0
文件: CFG.java 项目: cwgem/jruby
 void removeBB(BasicBlock b) {
   graph.removeVertexFor(b);
   bbMap.remove(b.getLabel());
   rescuerMap.remove(b);
   ensurerMap.remove(b);
   // SSS FIXME: Patch up rescued regions as well??
 }
示例#2
0
 public BasicBlock getOrCreateRenamedBB(BasicBlock bb) {
   BasicBlock renamedBB = getRenamedBB(bb);
   if (renamedBB == null) {
     renamedBB = new BasicBlock(this.callerCFG, getRenamedLabel(bb.getLabel()));
     bbRenameMap.put(bb, renamedBB);
   }
   return renamedBB;
 }