commit | 4b5015604908e9296800991a7c538a255356428f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Sep 20 04:43:15 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Sep 20 04:43:15 2004 +0000 |
tree | d453531085b7882934ee60dd14cf0320707c201f | |
parent | 8e47e7292c0edadb964403b06717220e432f854a [diff] [blame] |
Prototype these functions more accurately git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16432 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index 3e6e960..72ad30c 100644 --- a/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -328,7 +328,7 @@ RegisterOpt<IndVarSimplify> X("indvars", "Canonicalize Induction Variables"); } -Pass *llvm::createIndVarSimplifyPass() { +FunctionPass *llvm::createIndVarSimplifyPass() { return new IndVarSimplify(); }