aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DataStructure/DSNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DSNode.h')
-rw-r--r--include/llvm/Analysis/DataStructure/DSNode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h
index 53865da846..10394ddd06 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<GlobalValue*> &RHS);
void clearGlobals() { std::vector<GlobalValue*>().swap(Globals); }