protected static DominatorTree BuildTreeInternal(BaseDominatorTreeBuilder theBuilder)
 {
     theBuilder.MapNodes();
     theBuilder.MapPredecessors();
     theBuilder.FindImmediateDominators();
     theBuilder.ComputeDominanceFrontiers();
     return new DominatorTree(theBuilder.constructToNodeMap, theBuilder.rootConstruct);
 }
Beispiel #2
0
 protected static DominatorTree BuildTreeInternal(BaseDominatorTreeBuilder theBuilder)
 {
     theBuilder.MapNodes();
     theBuilder.MapPredecessors();
     theBuilder.FindImmediateDominators();
     theBuilder.ComputeDominanceFrontiers();
     return(new DominatorTree(theBuilder.constructToNodeMap, theBuilder.rootConstruct));
 }