[SelectionDAG] Delete SelectionDAGBuilder::removeValue. NFC.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 6 May 2015 18:02:10 +0000 (18:02 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 6 May 2015 18:02:10 +0000 (18:02 +0000)
SelectionDAGBuilder::removeValue is dead now, after rL236563.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236618 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h

index e3f3cd26d974adedda943a1fe646501907dca70f..f0c03af3f64bb3689089109db6ded8b06cd37f37 100644 (file)
@@ -679,12 +679,6 @@ public:
     N = NewN;
   }
 
-  void removeValue(const Value *V) {
-    // This is to support hack in lowerCallFromStatepoint
-    // Should be removed when hack is resolved
-    NodeMap.erase(V);
-  }
-
   void setUnusedArgValue(const Value *V, SDValue NewN) {
     SDValue &N = UnusedArgNodeMap[V];
     assert(!N.getNode() && "Already set a value for this node!");