diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-14 02:37:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-14 02:37:16 +0000 |
commit | 1e3cb34753a0cf6b8d99ebf3ada17c87dcebed79 (patch) | |
tree | 93467888c3a22fbba6e83a4109075d19eab04a6c | |
parent | 4eddf37ee31e7b962ad275c591124d90c8955f42 (diff) |
Move prototype to IPO.h instead of Scalar.h
Make sure that the file interface header (IPO.h) is included first
remove dead #incldue
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12375 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/IPO/LoopExtractor.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/IPO/LoopExtractor.cpp b/lib/Transforms/IPO/LoopExtractor.cpp index 480f0f7c03..3aa5686b21 100644 --- a/lib/Transforms/IPO/LoopExtractor.cpp +++ b/lib/Transforms/IPO/LoopExtractor.cpp @@ -14,12 +14,11 @@ // //===----------------------------------------------------------------------===// +#include "llvm/Transforms/IPO.h" #include "llvm/Module.h" #include "llvm/Pass.h" #include "llvm/Analysis/LoopInfo.h" -#include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/Utils/FunctionUtils.h" -#include <vector> using namespace llvm; namespace { @@ -64,6 +63,6 @@ bool LoopExtractor::runOnFunction(Function &F) { /// createLoopExtractorPass /// -FunctionPass* llvm::createLoopExtractorPass() { +Pass* llvm::createLoopExtractorPass() { return new LoopExtractor(); } |