mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 14:45:50 +00:00
Use MachineBasicBlock::instr_iterator instead of MachineBasicBlock::iterator in
MipsCodeEmitter.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158701 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac81cc3282
commit
226ae40fc2
@ -145,8 +145,8 @@ bool MipsCodeEmitter::runOnMachineFunction(MachineFunction &MF) {
|
||||
for (MachineFunction::iterator MBB = MF.begin(), E = MF.end();
|
||||
MBB != E; ++MBB){
|
||||
MCE.StartMachineBasicBlock(MBB);
|
||||
for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end();
|
||||
I != E; ++I)
|
||||
for (MachineBasicBlock::instr_iterator I = MBB->instr_begin(),
|
||||
E = MBB->instr_end(); I != E; ++I)
|
||||
emitInstruction(*I);
|
||||
}
|
||||
} while (MCE.finishFunction(MF));
|
||||
|
Loading…
Reference in New Issue
Block a user