The recalclulate method was a nasty hack that was once used by the -cee pass,

which never worked itself.  The cee pass still doesn't work, but it doesn't use
this method anymore anyway, so eliminate the method.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10302 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-12-07 00:55:32 +00:00
parent 16addf87bf
commit eae45cf44b
2 changed files with 12 additions and 21 deletions
-5
View File
@@ -252,11 +252,6 @@ struct DominatorSet : public DominatorSetBase {
virtual bool runOnFunction(Function &F);
/// recalculate - This method may be called by external passes that modify the
/// CFG and then need dominator information recalculated. This method is
/// obviously really slow, so it should be avoided if at all possible.
void recalculate();
BasicBlock *getRoot() const {
assert(Roots.size() == 1 && "Should always have entry node!");
return Roots[0];