summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-19 06:26:46 +0000
committerChris Lattner <sabre@nondot.org>2004-04-19 06:26:46 +0000
commit06ac2bef15f8a41f2e3439899b5aa1d95f4bd1f5 (patch)
treed57b29a7bce065128946f1ef872c9876295e5ad1 /include
parent45a1cf87d4e473981d9761240a07d3ca383f845a (diff)
downloadllvm-06ac2bef15f8a41f2e3439899b5aa1d95f4bd1f5.tar.gz
llvm-06ac2bef15f8a41f2e3439899b5aa1d95f4bd1f5.tar.bz2
llvm-06ac2bef15f8a41f2e3439899b5aa1d95f4bd1f5.tar.xz
Eliminate a poorly conceived method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/LoopInfo.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index 899edfd3ce..38f9264923 100644
--- a/include/llvm/Analysis/LoopInfo.h
+++ b/include/llvm/Analysis/LoopInfo.h
@@ -247,14 +247,6 @@ public:
///
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
- /// addBlockMapping - Add the specified basic block to the mapping from blocks
- /// to loops.
- void addBlockMapping(BasicBlock *BB, Loop *L) {
- assert(!BBMap.count(BB) && "Block already in mapping!");
- assert(L != 0 && "Cannot map to null loop!");
- BBMap[BB] = L;
- }
-
/// removeLoop - This removes the specified top-level loop from this loop info
/// object. The loop is not deleted, as it will presumably be inserted into
/// another loop.