diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-07 00:01:16 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-07 00:01:16 +0000 |
commit | 83c4b687205e4e81da0602865fbc24350831cf6a (patch) | |
tree | 0f99c9543b34f6f8a3133666c196ad2686fcdb1b /llvm/lib/Target/Hexagon/BitTracker.cpp | |
parent | 27f2447fb32ed08b45dba7bad8260cd5312a5132 (diff) | |
download | bcm5719-llvm-83c4b687205e4e81da0602865fbc24350831cf6a.tar.gz bcm5719-llvm-83c4b687205e4e81da0602865fbc24350831cf6a.zip |
ADT: Remove last implicit ilist iterator conversions, NFC
Some implicit ilist iterator conversions have crept back into Analysis,
Transforms, Hexagon, and llvm-stress. This removes them.
I'll commit a patch immediately after this to disallow them (in a
separate patch so that it's easy to revert if necessary).
llvm-svn: 252371
Diffstat (limited to 'llvm/lib/Target/Hexagon/BitTracker.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/BitTracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/BitTracker.cpp b/llvm/lib/Target/Hexagon/BitTracker.cpp index 23336b6546e..ea96eb0ee10 100644 --- a/llvm/lib/Target/Hexagon/BitTracker.cpp +++ b/llvm/lib/Target/Hexagon/BitTracker.cpp @@ -1106,7 +1106,7 @@ void BT::run() { if (It == End) { MachineFunction::const_iterator BIt = B.getIterator(); MachineFunction::const_iterator Next = std::next(BIt); - if (Next != MF.end() && B.isSuccessor(Next)) { + if (Next != MF.end() && B.isSuccessor(&*Next)) { int ThisN = B.getNumber(); int NextN = Next->getNumber(); FlowQ.push(CFGEdge(ThisN, NextN)); |