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
This commit is contained in:
Chris Lattner 2004-03-14 02:37:16 +00:00
parent 4eddf37ee3
commit 1e3cb34753

View File

@ -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();
}