Add FIXMEs.

llvm-svn: 37417
This commit is contained in:
Devang Patel 2007-06-04 17:38:00 +00:00
parent 8faaa37b1a
commit 3ad9b9f927
2 changed files with 6 additions and 0 deletions

View File

@ -283,6 +283,8 @@ public:
typedef std::map<BasicBlock*, ETNode*> ETMapType;
// FIXME : There is no need to make this interface public.
// Fix predicate simplifier.
void updateDFSNumbers();
/// dominates - Return true if A dominates B.
@ -426,6 +428,8 @@ public:
}
void calculate(const DominatorTree &DT);
// FIXME : There is no need to make getNodeForBlock public. Fix
// predicate simplifier.
ETNode *getNodeForBlock(BasicBlock *BB);
};

View File

@ -921,6 +921,8 @@ const bool ETForestBase::isReachableFromEntry(BasicBlock* A) {
return dominates(&A->getParent()->getEntryBlock(), A);
}
// FIXME : There is no need to make getNodeForBlock public. Fix
// predicate simplifier.
ETNode *ETForest::getNodeForBlock(BasicBlock *BB) {
ETNode *&BBNode = Nodes[BB];
if (BBNode) return BBNode;