[llvm-commits] CVS: llvm/include/llvm/Analysis/DSGraph.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Mar 3 16:01:01 PST 2004
Changes in directory llvm/include/llvm/Analysis:
DSGraph.h updated: 1.77 -> 1.78
---
Log message:
Rename method, add new method
---
Diffs of the changes: (+7 -1)
Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.77 llvm/include/llvm/Analysis/DSGraph.h:1.78
--- llvm/include/llvm/Analysis/DSGraph.h:1.77 Wed Mar 3 14:55:15 2004
+++ llvm/include/llvm/Analysis/DSGraph.h Wed Mar 3 16:00:20 2004
@@ -423,7 +423,13 @@
/// site into the nodes reachable from DestCS.
void mergeCallSite(const DSCallSite &DestCS, const DSCallSite &SrcCS);
- bool clonedNode() const { return !NodeMap.empty(); }
+ bool clonedAnyNodes() const { return !NodeMap.empty(); }
+
+ /// hasClonedNode - Return true if the specified node has been cloned from
+ /// the source graph into the destination graph.
+ bool hasClonedNode(const DSNode *N) {
+ return NodeMap.count(N);
+ }
void destroy() { NodeMap.clear(); }
};
More information about the llvm-commits
mailing list