summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/CallGraph.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-20 06:52:42 +0000
committerOwen Anderson <resistor@mac.com>2010-07-20 06:52:42 +0000
commit8dc129325fe840748a1e8592792144f1cc20ff16 (patch)
treedd4fa94ba9a88779d0c25889ad5cf618f4352a8c /llvm/lib/Analysis/IPA/CallGraph.cpp
parent4adaccf0bf12cb8f8e2fcbfd70631599d8661b21 (diff)
downloadbcm5719-llvm-8dc129325fe840748a1e8592792144f1cc20ff16.tar.gz
bcm5719-llvm-8dc129325fe840748a1e8592792144f1cc20ff16.zip
Reapply r108794, a fix for the failing test from last time.
llvm-svn: 108813
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 65c7c6efd80..fc0d33d5dc5 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 PassInfo *PI) {
+ virtual void *getAdjustedAnalysisPointer(const StaticPassInfo *PI) {
if (PI->isPassID(&CallGraph::ID))
return (CallGraph*)this;
return this;
OpenPOWER on IntegriCloud