LinearScanner hotspot.
[oota-llvm.git] / lib / CodeGen / UnreachableBlockElim.cpp
index fe334849ac42e58011caf11fcd26aac5d6e60355..951deb60d96bf5c6be9f51199e3ce5ed622d698b 100644 (file)
@@ -35,7 +35,7 @@ namespace {
   class VISIBILITY_HIDDEN UnreachableBlockElim : public FunctionPass {
     virtual bool runOnFunction(Function &F);
   };
-  RegisterOpt<UnreachableBlockElim>
+  RegisterPass<UnreachableBlockElim>
   X("unreachableblockelim", "Remove unreachable blocks from the CFG");
 }