Now that PassInfo and Pass::ID have been separated, move the rest of the passes over...
[oota-llvm.git] / lib / Transforms / Utils / LowerSwitch.cpp
index 5421402b8e2476e586cc5eff2a7159d962aeb0a5..5530b4700aac60ec65faa1b8f62eee0721b41e10 100644 (file)
@@ -79,8 +79,8 @@ namespace {
 }
 
 char LowerSwitch::ID = 0;
-static RegisterPass<LowerSwitch>
-X("lowerswitch", "Lower SwitchInst's to branches");
+INITIALIZE_PASS(LowerSwitch, "lowerswitch",
+                "Lower SwitchInst's to branches", false, false);
 
 // Publically exposed interface to pass...
 char &llvm::LowerSwitchID = LowerSwitch::ID;