Now that PassInfo and Pass::ID have been separated, move the rest of the passes over...
[oota-llvm.git] / lib / CodeGen / MachineDominators.cpp
index 36c9d66965a3a8cd64d74656dca4570164ab9dd4..3c674789244a2dbe71ba3d4b66118e1a98d87fc4 100644 (file)
@@ -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;