Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
llvm-svn: 109045
diff --git a/llvm/lib/VMCore/PrintModulePass.cpp b/llvm/lib/VMCore/PrintModulePass.cpp
index 2d69dce..7baacf7 100644
--- a/llvm/lib/VMCore/PrintModulePass.cpp
+++ b/llvm/lib/VMCore/PrintModulePass.cpp
@@ -77,11 +77,11 @@
}
char PrintModulePass::ID = 0;
-static RegisterPass<PrintModulePass>
-X("print-module", "Print module to stderr");
+INITIALIZE_PASS(PrintModulePass, "print-module",
+ "Print module to stderr", false, false);
char PrintFunctionPass::ID = 0;
-static RegisterPass<PrintFunctionPass>
-Y("print-function","Print function to stderr");
+INITIALIZE_PASS(PrintFunctionPass, "print-function",
+ "Print function to stderr", false, false);
/// createPrintModulePass - Create and return a pass that writes the
/// module to the specified raw_ostream.