From: Chris Lattner Date: Sun, 5 Oct 2003 19:14:16 +0000 (+0000) Subject: simplify-cfg is really a function pass X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b55803a9f4bee0460c30a3ed4977f417aafe1475;p=oota-llvm.git simplify-cfg is really a function pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8868 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/SimplifyCFG.cpp b/lib/Transforms/Scalar/SimplifyCFG.cpp index 3e19aed9499..648cc91b808 100644 --- a/lib/Transforms/Scalar/SimplifyCFG.cpp +++ b/lib/Transforms/Scalar/SimplifyCFG.cpp @@ -28,7 +28,7 @@ namespace { RegisterOpt X("simplifycfg", "Simplify the CFG"); } -Pass *createCFGSimplificationPass() { +FunctionPass *createCFGSimplificationPass() { return new CFGSimplifyPass(); }