diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-16 22:45:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-16 22:45:12 +0000 |
commit | 65bffec2c2dc87a5974930ec17931721bc485f9a (patch) | |
tree | 4d64f4bd493e167f799d0c6a12e5d3ff110ebf7c /lib/Analysis/IPA | |
parent | 4861ed60ac68a543d1b88e631e9fe2c55583b24b (diff) | |
download | external_llvm-65bffec2c2dc87a5974930ec17931721bc485f9a.zip external_llvm-65bffec2c2dc87a5974930ec17931721bc485f9a.tar.gz external_llvm-65bffec2c2dc87a5974930ec17931721bc485f9a.tar.bz2 |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp index b7a27cb..1063190 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); } } |