diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-14 22:24:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-14 22:24:39 +0000 |
commit | e51ee04c3d682b4701e4ba03233a37645206cf20 (patch) | |
tree | ce8cbe173eb1d686140bf2adb5751fc7e51dc778 | |
parent | 213a16c637926bfc38ba373d3aba6778e181e3ec (diff) |
remove SelectionDAG::InsertISelMapEntry, it is dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29677 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 7 | ||||
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 9 |
2 files changed, 0 insertions, 16 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index a8af4a3b05..3a3911bbf4 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -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); diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 1c17dfbee8..9f79429548 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -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))); -} |