aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RenderMachineFunction.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/CodeGen/RenderMachineFunction.cpp
parent26d0aa19d4dfe2c4250a02dc1df9d6097c45ab05 (diff)
downloadllvm-a57b97e7e7d4bd44ebc90c743e6db318fa5348d6.zip
llvm-a57b97e7e7d4bd44ebc90c743e6db318fa5348d6.tar.gz
llvm-a57b97e7e7d4bd44ebc90c743e6db318fa5348d6.tar.bz2
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
llvm-svn: 109045
Diffstat (limited to 'llvm/lib/CodeGen/RenderMachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/RenderMachineFunction.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RenderMachineFunction.cpp b/llvm/lib/CodeGen/RenderMachineFunction.cpp
index 9bcbfb4..585bf04 100644
--- a/llvm/lib/CodeGen/RenderMachineFunction.cpp
+++ b/llvm/lib/CodeGen/RenderMachineFunction.cpp
@@ -30,8 +30,9 @@
using namespace llvm;
char RenderMachineFunction::ID = 0;
-static RegisterPass<RenderMachineFunction>
-X("rendermf", "Render machine functions (and related info) to HTML pages");
+INITIALIZE_PASS(RenderMachineFunction, "rendermf",
+ "Render machine functions (and related info) to HTML pages",
+ false, false);
static cl::opt<std::string>
outputFileSuffix("rmf-file-suffix",