aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-07 00:55:32 +0000
committerChris Lattner <sabre@nondot.org>2003-12-07 00:55:32 +0000
commiteae45cf44bd1b9ddbb69865f1d46689e57e03417 (patch)
tree0dba2acd87f980f3a702385ce9ca4a5355667be6 /include
parent16addf87bf331645de63575aa15627c74b9cab66 (diff)
downloadexternal_llvm-eae45cf44bd1b9ddbb69865f1d46689e57e03417.zip
external_llvm-eae45cf44bd1b9ddbb69865f1d46689e57e03417.tar.gz
external_llvm-eae45cf44bd1b9ddbb69865f1d46689e57e03417.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/Dominators.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index 4179fe7..4242807 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -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];