[llvm-commits] CVS: llvm/lib/Analysis/IPA/CallGraph.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Jan 14 11:17:13 PST 2006



Changes in directory llvm/lib/Analysis/IPA:

CallGraph.cpp updated: 1.49 -> 1.50
---
Log message:

add a dump method to CallGraph


---
Diffs of the changes:  (+4 -0)

 CallGraph.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/lib/Analysis/IPA/CallGraph.cpp
diff -u llvm/lib/Analysis/IPA/CallGraph.cpp:1.49 llvm/lib/Analysis/IPA/CallGraph.cpp:1.50
--- llvm/lib/Analysis/IPA/CallGraph.cpp:1.49	Thu Dec 22 00:07:52 2005
+++ llvm/lib/Analysis/IPA/CallGraph.cpp	Sat Jan 14 13:17:02 2006
@@ -216,6 +216,10 @@
     I->second->print(OS);
 }
 
+void CallGraph::dump() const {
+  print(std::cerr, 0);
+}
+
 //===----------------------------------------------------------------------===//
 // Implementations of public modification methods
 //






More information about the llvm-commits mailing list