diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-08 22:03:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-08 22:03:00 +0000 |
commit | 237e6d10f24863cf48821b601b4164794e89d847 (patch) | |
tree | 5720ecbff3742315d087c34777c5ce4cca353c52 /lib/Transforms/LevelRaise.cpp | |
parent | 4d669b510c1d609c6b3fe98ac14ae38bd7c011f6 (diff) |
s/Method/Function
Remove extraneous #includes of llvm/Assembly/Writer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/LevelRaise.cpp')
-rw-r--r-- | lib/Transforms/LevelRaise.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Transforms/LevelRaise.cpp b/lib/Transforms/LevelRaise.cpp index f336a0df46..51d863d10d 100644 --- a/lib/Transforms/LevelRaise.cpp +++ b/lib/Transforms/LevelRaise.cpp @@ -20,8 +20,6 @@ #include "Support/STLExtras.h" #include <algorithm> -#include "llvm/Assembly/Writer.h" - //#define DEBUG_PEEPHOLE_INSTS 1 #ifdef DEBUG_PEEPHOLE_INSTS @@ -419,7 +417,7 @@ static bool PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) { static bool DoRaisePass(Function *F) { bool Changed = false; - for (Method::iterator MI = F->begin(), ME = F->end(); MI != ME; ++MI) { + for (Function::iterator MI = F->begin(), ME = F->end(); MI != ME; ++MI) { BasicBlock *BB = *MI; BasicBlock::InstListType &BIL = BB->getInstList(); |