Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo...
[oota-llvm.git] / lib / Analysis / ProfileEstimatorPass.cpp
index da4ce47692624b0eea0d36e8514e6982407e2ca4..a06d0fc8b3a327a106c96241dda460261b5a2339 100644 (file)
@@ -59,7 +59,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(&ProfileInfo::ID))
         return (ProfileInfo*)this;
       return this;