projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b9eb35
)
add a method
author
Chris Lattner
<sabre@nondot.org>
Sun, 20 Mar 2005 03:29:39 +0000
(
03:29
+0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/DataStructure/DSNode.h
b/include/llvm/Analysis/DataStructure/DSNode.h
index 53865da8460f89c21d559a39a7909d9144497538..10394ddd06d2738d44a2171b3b15a3544686ad0c 100644
(file)
--- 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); }