[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Dec 6 18:56:04 PST 2003
Changes in directory llvm/include/llvm/Analysis:
Dominators.h updated: 1.42 -> 1.43
---
Log message:
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.
---
Diffs of the changes: (+0 -5)
Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.42 llvm/include/llvm/Analysis/Dominators.h:1.43
--- llvm/include/llvm/Analysis/Dominators.h:1.42 Sat Dec 6 18:36:16 2003
+++ llvm/include/llvm/Analysis/Dominators.h Sat Dec 6 18:55:23 2003
@@ -252,11 +252,6 @@
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];
More information about the llvm-commits
mailing list