diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-10 04:23:32 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-10 04:23:32 +0000 |
commit | ecc1cef8bfd07575ba4026780adf7054c771e12e (patch) | |
tree | 3c7ab15ef3c62da58ddaaa45c73212cd25f3aeb5 /lib/Transforms | |
parent | 6e400f76e6921226ddacba367d3928474ed7567d (diff) |
Apply feedback from Chris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/IPO/LoopExtractor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/LoopExtractor.cpp b/lib/Transforms/IPO/LoopExtractor.cpp index 638820e398..4fd2335c28 100644 --- a/lib/Transforms/IPO/LoopExtractor.cpp +++ b/lib/Transforms/IPO/LoopExtractor.cpp @@ -61,7 +61,7 @@ namespace { // createLoopExtractorPass - This pass extracts all natural loops from the // program into a function if it can. // -ModulePass *llvm::createLoopExtractorPass() { return new LoopExtractor(); } +FunctionPass *llvm::createLoopExtractorPass() { return new LoopExtractor(); } bool LoopExtractor::runOnFunction(Function &F) { LoopInfo &LI = getAnalysis<LoopInfo>(); @@ -131,7 +131,7 @@ bool LoopExtractor::runOnFunction(Function &F) { // createSingleLoopExtractorPass - This pass extracts one natural loop from the // program into a function if it can. This is used by bugpoint. // -ModulePass *llvm::createSingleLoopExtractorPass() { +FunctionPass *llvm::createSingleLoopExtractorPass() { return new SingleLoopExtractor(); } |