Now that PassInfo and Pass::ID have been separated, move the rest of the passes over...
[oota-llvm.git] / lib / CodeGen / PreAllocSplitting.cpp
index 82df6c2379312eb95f274ce3a58922c96979fbb0..cd9d83eeb68463f71fb09db67c4ffd79f620af6c 100644 (file)
@@ -203,8 +203,9 @@ namespace {
 
 char PreAllocSplitting::ID = 0;
 
-static RegisterPass<PreAllocSplitting>
-X("pre-alloc-splitting", "Pre-Register Allocation Live Interval Splitting");
+INITIALIZE_PASS(PreAllocSplitting, "pre-alloc-splitting",
+                "Pre-Register Allocation Live Interval Splitting",
+                false, false);
 
 char &llvm::PreAllocSplittingID = PreAllocSplitting::ID;