mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Added static helper method MergeNodes(). See DataStructure.cpp for more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4946 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1818275956
commit
10afe022c5
@ -220,9 +220,13 @@ public:
|
||||
|
||||
private:
|
||||
friend class DSNodeHandle;
|
||||
|
||||
// addReferrer - Keep the referrer set up to date...
|
||||
void addReferrer(DSNodeHandle *H) { Referrers.push_back(H); }
|
||||
void removeReferrer(DSNodeHandle *H);
|
||||
|
||||
// static mergeNodes - Helper for mergeWith()
|
||||
static void MergeNodes(DSNodeHandle& CurNodeH, DSNodeHandle& NH);
|
||||
};
|
||||
|
||||
|
||||
|
@ -220,9 +220,13 @@ public:
|
||||
|
||||
private:
|
||||
friend class DSNodeHandle;
|
||||
|
||||
// addReferrer - Keep the referrer set up to date...
|
||||
void addReferrer(DSNodeHandle *H) { Referrers.push_back(H); }
|
||||
void removeReferrer(DSNodeHandle *H);
|
||||
|
||||
// static mergeNodes - Helper for mergeWith()
|
||||
static void MergeNodes(DSNodeHandle& CurNodeH, DSNodeHandle& NH);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user