diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-07-15 23:09:47 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-07-15 23:09:47 +0000 |
commit | 670900bb9e9bc798aad9da4150c64841cc59834e (patch) | |
tree | 9b77dbd86c0c26ca5ce86bfa7cad42e23eac39fa /llvm/lib/Target/Mips/MipsHazardSchedule.cpp | |
parent | 554357b62362c3dc91115fece2e6b16e68e07851 (diff) | |
download | bcm5719-llvm-670900bb9e9bc798aad9da4150c64841cc59834e.tar.gz bcm5719-llvm-670900bb9e9bc798aad9da4150c64841cc59834e.zip |
Reapply "Mips: Avoid implicit iterator conversions, NFC"
This reverts commit r275562, effectively reapplying r275141. Doug
Gilmore reported that there was an error when bisecting the Mips
buildbot failure, and that r275141 was not to blame after all. Here is
the green build:
https://dmz-portal.mips.com/bb/builders/LLVM%20with%20integrated%20assembler%20and%20fPIC%20and%20-O0/builds/803
llvm-svn: 275643
Diffstat (limited to 'llvm/lib/Target/Mips/MipsHazardSchedule.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsHazardSchedule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsHazardSchedule.cpp b/llvm/lib/Target/Mips/MipsHazardSchedule.cpp index c595c9b46ff..10022ba6068 100644 --- a/llvm/lib/Target/Mips/MipsHazardSchedule.cpp +++ b/llvm/lib/Target/Mips/MipsHazardSchedule.cpp @@ -137,8 +137,8 @@ bool MipsHazardSchedule::runOnMachineFunction(MachineFunction &MF) { if (InsertNop) { Changed = true; - MIBundleBuilder(I) - .append(BuildMI(MF, I->getDebugLoc(), TII->get(Mips::NOP))); + MIBundleBuilder(&*I).append( + BuildMI(MF, I->getDebugLoc(), TII->get(Mips::NOP))); NumInsertedNops++; } } |