summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-12-06 21:10:17 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-12-06 21:10:17 +0000
commit00ca82dbd22d18121615a7786744afbd7c89a794 (patch)
tree109c028653308269b66412eccfad8b50c5aba551 /llvm/include
parent80cac479bd1e280bab1cd587cb3f9b24979f0c2f (diff)
downloadbcm5719-llvm-00ca82dbd22d18121615a7786744afbd7c89a794.tar.gz
bcm5719-llvm-00ca82dbd22d18121615a7786744afbd7c89a794.zip
Added static helper method MergeNodes(). See DataStructure.cpp for more.
llvm-svn: 4946
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Analysis/DSNode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/DSNode.h b/llvm/include/llvm/Analysis/DSNode.h
index 83c1b11d1ac..a8339fde2f0 100644
--- a/llvm/include/llvm/Analysis/DSNode.h
+++ b/llvm/include/llvm/Analysis/DSNode.h
@@ -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);
};
OpenPOWER on IntegriCloud