[llvm-commits] CVS: llvm/include/llvm/Analysis/DSGraph.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 15 20:18:00 PDT 2002
Changes in directory llvm/include/llvm/Analysis:
DSGraph.h updated: 1.4 -> 1.5
---
Log message:
Allow direct access to mergemap for printing
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.4 llvm/include/llvm/Analysis/DSGraph.h:1.5
--- llvm/include/llvm/Analysis/DSGraph.h:1.4 Thu Oct 10 17:31:02 2002
+++ llvm/include/llvm/Analysis/DSGraph.h Tue Oct 15 20:17:16 2002
@@ -192,6 +192,11 @@
return 0;
}
+ int getMergeMapLabel(unsigned i) {
+ assert(i < MergeMap.size() && "MergeMap index out of range!");
+ return MergeMap[i];
+ }
+
/// setLink - Set the link at the specified offset to the specified
/// NodeHandle, replacing what was there. It is uncommon to use this method,
/// instead one of the higher level methods should be used, below.
More information about the llvm-commits
mailing list