remove SelectionDAG::InsertISelMapEntry, it is dead
authorChris Lattner <sabre@nondot.org>
Mon, 14 Aug 2006 22:24:39 +0000 (22:24 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 14 Aug 2006 22:24:39 +0000 (22:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29677 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index a8af4a3b05e4ab6c2440377c9cf4bddd827a3829..3a3911bbf421b1905a6e44e7f6e41cc94e45162e 100644 (file)
@@ -431,13 +431,6 @@ public:
 
   void dump() const;
 
-  /// InsertISelMapEntry - A helper function to insert a key / element pair
-  /// into a SDOperand to SDOperand map. This is added to avoid the map
-  /// insertion operator from being inlined.
-  static void InsertISelMapEntry(std::map<SDOperand, SDOperand> &Map,
-                                 SDNode *Key, unsigned KeyResNo,
-                                 SDNode *Element, unsigned ElementResNo);
-
 private:
   void RemoveNodeFromCSEMaps(SDNode *N);
   SDNode *AddNonLeafNodeToCSEMaps(SDNode *N);
index 1c17dfbee83118571d180a6467a8a182eda81582..9f79429548b289f0c0dfc7f6c687b44a32a0ecfa 100644 (file)
@@ -2901,12 +2901,3 @@ void SelectionDAG::dump() const {
   std::cerr << "\n\n";
 }
 
-/// InsertISelMapEntry - A helper function to insert a key / element pair
-/// into a SDOperand to SDOperand map. This is added to avoid the map
-/// insertion operator from being inlined.
-void SelectionDAG::InsertISelMapEntry(std::map<SDOperand, SDOperand> &Map,
-                                      SDNode *Key, unsigned KeyResNo,
-                                      SDNode *Element, unsigned ElementResNo) {
-  Map.insert(std::make_pair(SDOperand(Key, KeyResNo),
-                            SDOperand(Element, ElementResNo)));
-}