From: Chris Lattner Date: Sun, 20 Mar 2005 03:29:39 +0000 (+0000) Subject: add a method X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3ee382c68f662c25329fc2b456ef6aaac79b80f1;p=oota-llvm.git add a method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20709 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h index 53865da8460..10394ddd06d 100644 --- a/include/llvm/Analysis/DataStructure/DSNode.h +++ b/include/llvm/Analysis/DataStructure/DSNode.h @@ -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 &RHS); void clearGlobals() { std::vector().swap(Globals); }