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
This commit is contained in:
Chris Lattner
2002-04-08 22:03:00 +00:00
parent 4d669b510c
commit 237e6d10f2
14 changed files with 23 additions and 36 deletions

View File

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