mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-06 10:38:54 +00:00
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:
parent
6b9eb35442
commit
3ee382c68f
@ -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); }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user