add a method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20709 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-03-20 03:29:39 +00:00
parent 6b9eb35442
commit 3ee382c68f

View 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); }