diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-10-05 19:14:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-10-05 19:14:16 +0000 |
| commit | 5ed281d7d764977c8ff7e608302b564446e8ed7b (patch) | |
| tree | 62e2b20dadbeef625de3ae4859bbbff4509b7f12 /llvm/lib/Transforms/Scalar/SimplifyCFG.cpp | |
| parent | df9779c5c2e5041e30279fcb26de9024002b1b52 (diff) | |
| download | bcm5719-llvm-5ed281d7d764977c8ff7e608302b564446e8ed7b.tar.gz bcm5719-llvm-5ed281d7d764977c8ff7e608302b564446e8ed7b.zip | |
simplify-cfg is really a function pass
llvm-svn: 8868
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimplifyCFG.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/SimplifyCFG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp b/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp index 3e19aed9499..648cc91b808 100644 --- a/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp @@ -28,7 +28,7 @@ namespace { RegisterOpt<CFGSimplifyPass> X("simplifycfg", "Simplify the CFG"); } -Pass *createCFGSimplificationPass() { +FunctionPass *createCFGSimplificationPass() { return new CFGSimplifyPass(); } |

