Revert r108794, "Separate PassInfo into two classes: a constructor-free
[oota-llvm.git] / lib / Analysis / AliasDebugger.cpp
index 578bc68bd3e2bf16bad0fc5180b2532f93cdca8e..bc2d9c55d18376812d3a8ced6143ea3edfc6ba38 100644 (file)
@@ -83,7 +83,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;