diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-22 05:24:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-22 05:24:46 +0000 |
commit | 3660ecabbb85b31308f38938ce3f56f0a330a84b (patch) | |
tree | 90042a2d539d672a0c932ff0b745c036d8963ada /lib/Analysis | |
parent | 5e664b8f7c5ba877058a3a1cdfcce8e6b7388a6a (diff) | |
download | external_llvm-3660ecabbb85b31308f38938ce3f56f0a330a84b.zip external_llvm-3660ecabbb85b31308f38938ce3f56f0a330a84b.tar.gz external_llvm-3660ecabbb85b31308f38938ce3f56f0a330a84b.tar.bz2 |
eliminate a bunch of dynamic_cast's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/IPA/CallGraphSCCPass.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp index 5504b9b..bb2a2cc 100644 --- a/lib/Analysis/IPA/CallGraphSCCPass.cpp +++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp @@ -57,6 +57,9 @@ public: return "CallGraph Pass Manager"; } + virtual PMDataManager *getAsPMDataManager() { return this; } + virtual Pass *getAsPass() { return this; } + // Print passes managed by this manager void dumpPassStructure(unsigned Offset) { errs().indent(Offset*2) << "Call Graph SCC Pass Manager\n"; |