[llvm-commits] CVS: llvm/include/llvm/Analysis/DSNode.h
Vikram Adve
vadve at cs.uiuc.edu
Fri Dec 6 15:11:00 PST 2002
Changes in directory llvm/include/llvm/Analysis:
DSNode.h updated: 1.15 -> 1.16
---
Log message:
Added static helper method MergeNodes(). See DataStructure.cpp for more.
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/DSNode.h
diff -u llvm/include/llvm/Analysis/DSNode.h:1.15 llvm/include/llvm/Analysis/DSNode.h:1.16
--- llvm/include/llvm/Analysis/DSNode.h:1.15 Mon Nov 18 15:45:30 2002
+++ llvm/include/llvm/Analysis/DSNode.h Fri Dec 6 15:10:17 2002
@@ -220,9 +220,13 @@
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);
};
More information about the llvm-commits
mailing list