summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/CallGraph.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-20 08:26:15 +0000
committerOwen Anderson <resistor@mac.com>2010-07-20 08:26:15 +0000
commit81781220d23007e831deb4dfd235be8c1cccdc52 (patch)
tree599ceb36e21f0bb32d1bbb5147d8bff4a8633ced /llvm/lib/Analysis/IPA/CallGraph.cpp
parentea7863647b1ad197ddaadab07288e5971485623e (diff)
downloadbcm5719-llvm-81781220d23007e831deb4dfd235be8c1cccdc52.tar.gz
bcm5719-llvm-81781220d23007e831deb4dfd235be8c1cccdc52.zip
Speculatively revert r108813, in an attempt to get the self-host buildbots working again. I don't see why this patch
would cause them to fail the way they are, but none of the other intervening patches seem likely either. llvm-svn: 108818
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r--llvm/lib/Analysis/IPA/CallGraph.cpp2
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;
OpenPOWER on IntegriCloud