summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineDominators.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-08-23 17:52:01 +0000
committerOwen Anderson <resistor@mac.com>2010-08-23 17:52:01 +0000
commitd31d82d75ccfc0995f42da8e01bcfcca287168e6 (patch)
treed78cc314121d2ed2d51d2d2d1d0b4644f89d301c /llvm/lib/CodeGen/MachineDominators.cpp
parent0bf9c59d2f20510c7bca2b50bca2f17e2a65f460 (diff)
downloadbcm5719-llvm-d31d82d75ccfc0995f42da8e01bcfcca287168e6.tar.gz
bcm5719-llvm-d31d82d75ccfc0995f42da8e01bcfcca287168e6.zip
Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API.
llvm-svn: 111815
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominators.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineDominators.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineDominators.cpp b/llvm/lib/CodeGen/MachineDominators.cpp
index 36c9d66965a..3c674789244 100644
--- a/llvm/lib/CodeGen/MachineDominators.cpp
+++ b/llvm/lib/CodeGen/MachineDominators.cpp
@@ -24,8 +24,8 @@ TEMPLATE_INSTANTIATION(class DominatorTreeBase<MachineBasicBlock>);
char MachineDominatorTree::ID = 0;
-static RegisterPass<MachineDominatorTree>
-E("machinedomtree", "MachineDominator Tree Construction", true);
+INITIALIZE_PASS(MachineDominatorTree, "machinedomtree",
+ "MachineDominator Tree Construction", true, true);
char &llvm::MachineDominatorsID = MachineDominatorTree::ID;
OpenPOWER on IntegriCloud