add a method
authorChris Lattner <sabre@nondot.org>
Sun, 20 Mar 2005 03:29:39 +0000 (03:29 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 20 Mar 2005 03:29:39 +0000 (03:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20709 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure/DSNode.h

index 53865da8460f89c21d559a39a7909d9144497538..10394ddd06d2738d44a2171b3b15a3544686ad0c 100644 (file)
@@ -283,6 +283,11 @@ public:
   /// also marks the node with the 'G' flag if it does not already have it.
   ///
   void addGlobal(GlobalValue *GV);
+
+  /// removeGlobal - Remove the specified global that is explicitly in the
+  /// globals list.
+  void removeGlobal(GlobalValue *GV);
+
   void mergeGlobals(const std::vector<GlobalValue*> &RHS);
   void clearGlobals() { std::vector<GlobalValue*>().swap(Globals); }