Eliminate a poorly conceived method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-04-19 06:26:46 +00:00
parent 45a1cf87d4
commit 06ac2bef15

View File

@ -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.