Speculatively revert r108813, in an attempt to get the self-host buildbots working...
[oota-llvm.git] / tools / bugpoint / bugpoint.cpp
index d4951adc6ebd60a7034277a9749c208d1a4271a0..ba5234bdc89d52f7659eddef22ce4db3d696ed8c 100644 (file)
@@ -61,7 +61,7 @@ UseValgrind("enable-valgrind",
 // The AnalysesList is automatically populated with registered Passes by the
 // PassNameParser.
 //
-static cl::list<const StaticPassInfo*, bool, PassNameParser>
+static cl::list<const PassInfo*, bool, PassNameParser>
 PassList(cl::desc("Passes available:"), cl::ZeroOrMore);
 
 static cl::opt<bool>
@@ -90,7 +90,7 @@ namespace {
     AddToDriver(BugDriver &_D) : D(_D) {}
     
     virtual void add(Pass *P) {
-      const StaticPassInfo *PI = P->getPassInfo();
+      const PassInfo *PI = P->getPassInfo();
       D.addPasses(&PI, &PI + 1);
     }
   };