Add a lint check for indirectbr with no successors.
[oota-llvm.git] / lib / Analysis / IVUsers.cpp
index 2c997dae5859ce35fab3fb6144709e93e822a9cf..e2b67e8365e44efb8d42cf69487f17cf573ac050 100644 (file)
@@ -29,8 +29,7 @@
 using namespace llvm;
 
 char IVUsers::ID = 0;
-static RegisterPass<IVUsers>
-X("iv-users", "Induction Variable Users", false, true);
+INITIALIZE_PASS(IVUsers, "iv-users", "Induction Variable Users", false, true);
 
 Pass *llvm::createIVUsersPass() {
   return new IVUsers();