mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
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:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user