summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/PrintModulePass.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-21 22:09:45 +0000
committerOwen Anderson <resistor@mac.com>2010-07-21 22:09:45 +0000
commita57b97e7e7d4bd44ebc90c743e6db318fa5348d6 (patch)
tree9064f2c1398c305ffb7d95bbe8aafdb1629cdf96 /llvm/lib/VMCore/PrintModulePass.cpp
parent26d0aa19d4dfe2c4250a02dc1df9d6097c45ab05 (diff)
downloadbcm5719-llvm-a57b97e7e7d4bd44ebc90c743e6db318fa5348d6.tar.gz
bcm5719-llvm-a57b97e7e7d4bd44ebc90c743e6db318fa5348d6.zip
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
llvm-svn: 109045
Diffstat (limited to 'llvm/lib/VMCore/PrintModulePass.cpp')
-rw-r--r--llvm/lib/VMCore/PrintModulePass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/PrintModulePass.cpp b/llvm/lib/VMCore/PrintModulePass.cpp
index 2d69dce07f3..7baacf71ceb 100644
--- a/llvm/lib/VMCore/PrintModulePass.cpp
+++ b/llvm/lib/VMCore/PrintModulePass.cpp
@@ -77,11 +77,11 @@ namespace {
}
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.
OpenPOWER on IntegriCloud