Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
[oota-llvm.git] / lib / Analysis / CFGPrinter.cpp
index e06704bd897ca9acf0d440df388d5b7a2bb04c7c..c16f3286df2c48c802bac23f57536a5ecbb61de9 100644 (file)
@@ -41,8 +41,7 @@ namespace {
 }
 
 char CFGViewer::ID = 0;
-static RegisterPass<CFGViewer>
-V0("view-cfg", "View CFG of function", false, true);
+INITIALIZE_PASS(CFGViewer, "view-cfg", "View CFG of function", false, true);
 
 namespace {
   struct CFGOnlyViewer : public FunctionPass {