Fix a comment.
[oota-llvm.git] / lib / Analysis / CFGPrinter.cpp
index c16f3286df2c48c802bac23f57536a5ecbb61de9..da2f0a6dbf0c31917b78133476d10e188339f061 100644 (file)
@@ -62,9 +62,8 @@ namespace {
 }
 
 char CFGOnlyViewer::ID = 0;
-static RegisterPass<CFGOnlyViewer>
-V1("view-cfg-only",
-   "View CFG of function (with no function bodies)", false, true);
+INITIALIZE_PASS(CFGOnlyViewer, "view-cfg-only",
+                "View CFG of function (with no function bodies)", false, true);
 
 namespace {
   struct CFGPrinter : public FunctionPass {