summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-05 19:14:16 +0000
committerChris Lattner <sabre@nondot.org>2003-10-05 19:14:16 +0000
commitb55803a9f4bee0460c30a3ed4977f417aafe1475 (patch)
tree564e49650d974c887da307aad70c3d3162aa98f9 /lib/Transforms
parentbede31ff3ab0efa4222f4d47fb0d923e1084b1a7 (diff)
downloadllvm-b55803a9f4bee0460c30a3ed4977f417aafe1475.tar.gz
llvm-b55803a9f4bee0460c30a3ed4977f417aafe1475.tar.bz2
llvm-b55803a9f4bee0460c30a3ed4977f417aafe1475.tar.xz
simplify-cfg is really a function pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/SimplifyCFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/SimplifyCFG.cpp b/lib/Transforms/Scalar/SimplifyCFG.cpp
index 3e19aed949..648cc91b80 100644
--- a/lib/Transforms/Scalar/SimplifyCFG.cpp
+++ b/lib/Transforms/Scalar/SimplifyCFG.cpp
@@ -28,7 +28,7 @@ namespace {
RegisterOpt<CFGSimplifyPass> X("simplifycfg", "Simplify the CFG");
}
-Pass *createCFGSimplificationPass() {
+FunctionPass *createCFGSimplificationPass() {
return new CFGSimplifyPass();
}