Added static helper method MergeNodes(). See DataStructure.cpp for more.

llvm-svn: 4946
This commit is contained in:
Vikram S. Adve 2002-12-06 21:10:17 +00:00
parent 80cac479bd
commit 00ca82dbd2
1 changed files with 4 additions and 0 deletions

View File

@ -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);
};