summaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-16 22:45:12 +0000
committerDan Gohman <gohman@apple.com>2010-08-16 22:45:12 +0000
commit65bffec2c2dc87a5974930ec17931721bc485f9a (patch)
tree4d64f4bd493e167f799d0c6a12e5d3ff110ebf7c /lib/Analysis/IPA
parent4861ed60ac68a543d1b88e631e9fe2c55583b24b (diff)
downloadllvm-65bffec2c2dc87a5974930ec17931721bc485f9a.tar.gz
llvm-65bffec2c2dc87a5974930ec17931721bc485f9a.tar.bz2
llvm-65bffec2c2dc87a5974930ec17931721bc485f9a.tar.xz
Make dumpPassStructure be a PMDataManager abstraction, rather than
a Pass abstraction, since that's the level it's actually used at. Rename Pass' dumpPassStructure to dumpPass. This eliminates an awkward use of getAsPass() to convert a PMDataManager* into a Pass* just to permit a dumpPassStructure call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA')
-rw-r--r--lib/Analysis/IPA/CallGraphSCCPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp
index b7a27cb288..1063190f4e 100644
--- a/lib/Analysis/IPA/CallGraphSCCPass.cpp
+++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp
@@ -73,7 +73,7 @@ public:
errs().indent(Offset*2) << "Call Graph SCC Pass Manager\n";
for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) {
Pass *P = getContainedPass(Index);
- P->dumpPassStructure(Offset + 1);
+ P->dumpPass(Offset + 1);
dumpLastUses(P, Offset+1);
}
}