From: Chris Lattner Date: Mon, 29 Aug 2005 22:00:00 +0000 (+0000) Subject: Add a new API for nate X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ba8a0e0d7f03b7cac03ff1eaf9f048eb9d32bd46;p=oota-llvm.git Add a new API for nate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23132 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 27331db1bb0..bf6a11be118 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -287,6 +287,11 @@ public: void ReplaceAllUsesWith(SDNode *From, SDNode *To); void ReplaceAllUsesWith(SDNode *From, const std::vector &To); + + /// DeleteNode - Remove the specified node from the system. This node must + /// have no referrers. + void DeleteNode(SDNode *N); + void dump() const; private: