diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-02-22 20:49:58 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-02-22 20:49:58 +0000 |
commit | c5b668deb8848bca64e71efab5a3477857548e0f (patch) | |
tree | 18486a915fec62d41f58d03298bd7b60e2b2739a /llvm/lib/CodeGen/ProcessImplicitDefs.cpp | |
parent | 42bb25413302819745e302b87d3219cf137d3afe (diff) | |
download | llvm-c5b668deb8848bca64e71efab5a3477857548e0f.zip llvm-c5b668deb8848bca64e71efab5a3477857548e0f.tar.gz llvm-c5b668deb8848bca64e71efab5a3477857548e0f.tar.bz2 |
Revert "CodeGen: MachineInstr::getIterator() => getInstrIterator(), NFC"
This reverts commit r261504, since it's not obvious the new name is
better:
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160222/334298.html
I'll recommit if we get consensus that it's the right direction.
llvm-svn: 261567
Diffstat (limited to 'llvm/lib/CodeGen/ProcessImplicitDefs.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ProcessImplicitDefs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ProcessImplicitDefs.cpp b/llvm/lib/CodeGen/ProcessImplicitDefs.cpp index ea5d234..d27ea2f 100644 --- a/llvm/lib/CodeGen/ProcessImplicitDefs.cpp +++ b/llvm/lib/CodeGen/ProcessImplicitDefs.cpp @@ -96,8 +96,8 @@ void ProcessImplicitDefs::processImplicitDef(MachineInstr *MI) { // This is a physreg implicit-def. // Look for the first instruction to use or define an alias. - auto UserMI = MI->getInstrIterator(); - auto UserE = MI->getParent()->instr_end(); + MachineBasicBlock::instr_iterator UserMI = MI->getIterator(); + MachineBasicBlock::instr_iterator UserE = MI->getParent()->instr_end(); bool Found = false; for (++UserMI; UserMI != UserE; ++UserMI) { for (MachineOperand &MO : UserMI->operands()) { |