[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h
Devang Patel
dpatel at apple.com
Tue Jun 5 17:46:58 PDT 2007
Changes in directory llvm/include/llvm/Analysis:
Dominators.h updated: 1.90 -> 1.91
---
Log message:
Simplify class hierarchy.
---
Diffs of the changes: (+1 -3)
Dominators.h | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.90 llvm/include/llvm/Analysis/Dominators.h:1.91
--- llvm/include/llvm/Analysis/Dominators.h:1.90 Mon Jun 4 18:45:02 2007
+++ llvm/include/llvm/Analysis/Dominators.h Tue Jun 5 19:46:36 2007
@@ -63,7 +63,7 @@
class DomTreeNode {
friend class DominatorTree;
friend struct PostDominatorTree;
- friend class DominatorTreeBase;
+
BasicBlock *TheBB;
DomTreeNode *IDom;
std::vector<DomTreeNode*> Children;
@@ -99,10 +99,8 @@
return properlyDominates(N);
}
-private:
inline DomTreeNode(BasicBlock *BB, DomTreeNode *iDom) : TheBB(BB), IDom(iDom) {}
inline DomTreeNode *addChild(DomTreeNode *C) { Children.push_back(C); return C; }
-
void setIDom(DomTreeNode *NewIDom);
};
More information about the llvm-commits
mailing list