Revert r108794, "Separate PassInfo into two classes: a constructor-free
[oota-llvm.git] / lib / Analysis / ScalarEvolutionAliasAnalysis.cpp
index 11885b2b1a87f4d5c611e61f819d6f792a3b7533..58711b8be59e8bb38659753133faa70400771890 100644 (file)
@@ -40,7 +40,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 StaticPassInfo *PI) {
+    virtual void *getAdjustedAnalysisPointer(const PassInfo *PI) {
       if (PI->isPassID(&AliasAnalysis::ID))
         return (AliasAnalysis*)this;
       return this;