diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-20 03:29:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-20 03:29:39 +0000 |
commit | 3ee382c68f662c25329fc2b456ef6aaac79b80f1 (patch) | |
tree | a048673201fdb802891a0b38188935ba206bf17b /include/llvm/Analysis | |
parent | 6b9eb354422218de7bc115f50d7d17a47fb129c0 (diff) | |
download | external_llvm-3ee382c68f662c25329fc2b456ef6aaac79b80f1.zip external_llvm-3ee382c68f662c25329fc2b456ef6aaac79b80f1.tar.gz external_llvm-3ee382c68f662c25329fc2b456ef6aaac79b80f1.tar.bz2 |
add a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSNode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h index 53865da..10394dd 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); } |