diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-07-20 03:06:07 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-07-20 03:06:07 +0000 |
commit | 4a35d6f8cd5aa9c143d20d7e7d4103a7770481bc (patch) | |
tree | 75050998d7614e4b22a9e502e93dd49a4ce306ad /llvm/lib/Analysis/IPA/CallGraph.cpp | |
parent | 66942553068f34befc7f112d6b8d4fb84a367caa (diff) | |
download | bcm5719-llvm-4a35d6f8cd5aa9c143d20d7e7d4103a7770481bc.tar.gz bcm5719-llvm-4a35d6f8cd5aa9c143d20d7e7d4103a7770481bc.zip |
Revert r108794, "Separate PassInfo into two classes: a constructor-free
superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is
breaking teh everything.
llvm-svn: 108805
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r-- | llvm/lib/Analysis/IPA/CallGraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp index fc0d33d5dc5..65c7c6efd80 100644 --- a/llvm/lib/Analysis/IPA/CallGraph.cpp +++ b/llvm/lib/Analysis/IPA/CallGraph.cpp @@ -86,7 +86,7 @@ public: /// an analysis interface through multiple inheritance. If needed, it should /// override this to adjust the this pointer as needed for the specified pass /// info. - virtual void *getAdjustedAnalysisPointer(const StaticPassInfo *PI) { + virtual void *getAdjustedAnalysisPointer(const PassInfo *PI) { if (PI->isPassID(&CallGraph::ID)) return (CallGraph*)this; return this; |