Add a new API for nate
authorChris Lattner <sabre@nondot.org>
Mon, 29 Aug 2005 22:00:00 +0000 (22:00 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 29 Aug 2005 22:00:00 +0000 (22:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23132 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h

index 27331db1bb06d330f96279b2ed2313ba8295aeba..bf6a11be11810bf9705fbea01b280219b0f1f92b 100644 (file)
@@ -287,6 +287,11 @@ public:
   void ReplaceAllUsesWith(SDNode *From, SDNode *To);
   void ReplaceAllUsesWith(SDNode *From, const std::vector<SDOperand> &To);
   
+  
+  /// DeleteNode - Remove the specified node from the system.  This node must
+  /// have no referrers.
+  void DeleteNode(SDNode *N);
+  
   void dump() const;
 
 private: