OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac81cc3
)
Use MachineBasicBlock::instr_iterator instead of MachineBasicBlock::iterator in
author
Akira Hatanaka
<ahatanaka@mips.com>
Tue, 19 Jun 2012 03:39:45 +0000
(
03:39
+0000)
committer
Akira Hatanaka
<ahatanaka@mips.com>
Tue, 19 Jun 2012 03:39:45 +0000
(
03:39
+0000)
MipsCodeEmitter.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158701
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Mips/MipsCodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsCodeEmitter.cpp
b/lib/Target/Mips/MipsCodeEmitter.cpp
index
7d81902
..
c0e7639
100644
(file)
--- a/
lib/Target/Mips/MipsCodeEmitter.cpp
+++ b/
lib/Target/Mips/MipsCodeEmitter.cpp
@@
-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::i
terator I = MBB->begin(), E = MBB->end();
- I != E; ++I)
+ for (MachineBasicBlock::i
nstr_iterator I = MBB->instr_begin(),
+
E = MBB->instr_end();
I != E; ++I)
emitInstruction(*I);
}
} while (MCE.finishFunction(MF));