diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-07 00:55:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-07 00:55:32 +0000 |
commit | eae45cf44bd1b9ddbb69865f1d46689e57e03417 (patch) | |
tree | 0dba2acd87f980f3a702385ce9ca4a5355667be6 /include | |
parent | 16addf87bf331645de63575aa15627c74b9cab66 (diff) | |
download | external_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.h | 5 |
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]; |