summaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA/CallGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r--lib/Analysis/IPA/CallGraph.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp
index 03f73fa8d2..29b8ed4a7f 100644
--- a/lib/Analysis/IPA/CallGraph.cpp
+++ b/lib/Analysis/IPA/CallGraph.cpp
@@ -216,6 +216,10 @@ void CallGraph::print(std::ostream &OS, const Module *M) const {
I->second->print(OS);
}
+void CallGraph::dump() const {
+ print(std::cerr, 0);
+}
+
//===----------------------------------------------------------------------===//
// Implementations of public modification methods
//