simplify-cfg is really a function pass
authorChris Lattner <sabre@nondot.org>
Sun, 5 Oct 2003 19:14:16 +0000 (19:14 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Oct 2003 19:14:16 +0000 (19:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8868 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SimplifyCFG.cpp

index 3e19aed94998b4ffc2b2b7986523e1a115be8dd7..648cc91b80886587a3a7fef39242913f3d388868 100644 (file)
@@ -28,7 +28,7 @@ namespace {
   RegisterOpt<CFGSimplifyPass> X("simplifycfg", "Simplify the CFG");
 }
 
-Pass *createCFGSimplificationPass() {
+FunctionPass *createCFGSimplificationPass() {
   return new CFGSimplifyPass();
 }