mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-28 17:23:27 +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:
@@ -283,6 +283,11 @@ public:
|
|||||||
/// also marks the node with the 'G' flag if it does not already have it.
|
/// also marks the node with the 'G' flag if it does not already have it.
|
||||||
///
|
///
|
||||||
void addGlobal(GlobalValue *GV);
|
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 mergeGlobals(const std::vector<GlobalValue*> &RHS);
|
||||||
void clearGlobals() { std::vector<GlobalValue*>().swap(Globals); }
|
void clearGlobals() { std::vector<GlobalValue*>().swap(Globals); }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user