Eliminate a poorly conceived method
authorChris Lattner <sabre@nondot.org>
Mon, 19 Apr 2004 06:26:46 +0000 (06:26 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 19 Apr 2004 06:26:46 +0000 (06:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13065 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index 899edfd3ce7fe02c29b1a2c3a15a706684459d26..38f9264923b5919d3f4690789e8fa4fe81111f9c 100644 (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.