diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-09 22:56:24 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-09 22:56:24 +0000 |
commit | f1ff53ecc29c50b4c493225fa11f6777aafa6858 (patch) | |
tree | 99107bcbfd6000549cbb153a89bf9cc3495bbc6e /llvm/lib/CodeGen/VirtRegMap.cpp | |
parent | 6ed46bd3808ac4afa35f026846df25d98105efa1 (diff) | |
download | llvm-f1ff53ecc29c50b4c493225fa11f6777aafa6858.zip llvm-f1ff53ecc29c50b4c493225fa11f6777aafa6858.tar.gz llvm-f1ff53ecc29c50b4c493225fa11f6777aafa6858.tar.bz2 |
CodeGen: Remove implicit ilist iterator conversions, NFC
Finish removing implicit ilist iterator conversions from LLVMCodeGen.
I'm sure there are lots more of these in lib/CodeGen/*/.
llvm-svn: 249915
Diffstat (limited to 'llvm/lib/CodeGen/VirtRegMap.cpp')
-rw-r--r-- | llvm/lib/CodeGen/VirtRegMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp index 507729a..bf992a1 100644 --- a/llvm/lib/CodeGen/VirtRegMap.cpp +++ b/llvm/lib/CodeGen/VirtRegMap.cpp @@ -355,7 +355,7 @@ void VirtRegRewriter::rewrite() { DEBUG(MBBI->print(dbgs(), Indexes)); for (MachineBasicBlock::instr_iterator MII = MBBI->instr_begin(), MIE = MBBI->instr_end(); MII != MIE;) { - MachineInstr *MI = MII; + MachineInstr *MI = &*MII; ++MII; for (MachineInstr::mop_iterator MOI = MI->operands_begin(), |