Revert r108794, "Separate PassInfo into two classes: a constructor-free
[oota-llvm.git] / lib / Analysis / ProfileInfoLoaderPass.cpp
index 90f40406a6696f8d401131963d6d34e48ecbe668..8ea4ecf54f98f6a8510b55e670afcd50ad63aa4f 100644 (file)
@@ -67,7 +67,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(&ProfileInfo::ID))
         return (ProfileInfo*)this;
       return this;