mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-11 11:34:02 +00:00
add a method to clear globals from a node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20693 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f377fefb7
commit
ce325fdb87
@ -284,6 +284,7 @@ public:
|
||||
///
|
||||
void addGlobal(GlobalValue *GV);
|
||||
void mergeGlobals(const std::vector<GlobalValue*> &RHS);
|
||||
void clearGlobals() { std::vector<GlobalValue*>().swap(Globals); }
|
||||
const std::vector<GlobalValue*> &getGlobals() const { return Globals; }
|
||||
|
||||
typedef std::vector<GlobalValue*>::const_iterator global_iterator;
|
||||
|
Loading…
x
Reference in New Issue
Block a user