Reapply r108794, a fix for the failing test from last time.
[oota-llvm.git] / lib / Analysis / IPA / GlobalsModRef.cpp
index f13deea41d4ede8642dccdbd584bde689af98964..7e328ef85e197b97fb7cb48b9bca94685d13aa82 100644 (file)
@@ -149,7 +149,7 @@ namespace {
     /// 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(&AliasAnalysis::ID))
         return (AliasAnalysis*)this;
       return this;