forked from OSchip/llvm-project
Added static helper method MergeNodes(). See DataStructure.cpp for more.
llvm-svn: 4946
This commit is contained in:
parent
80cac479bd
commit
00ca82dbd2
|
@ -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