commit | e3c3e55fc5dd6ac02f8e1ada9f686618132ffb69 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Aug 16 23:34:07 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Aug 16 23:34:07 2016 +0000 |
tree | 28807301d25fe54b04c1d7840e19ca20e60f0638 | |
parent | d75cab63fcb007a52ca23efb221f2681168f991a [diff] |
CodeGen: Avoid dereferencing end() when unconstifying iterators Rather than doing a funny dance that relies on dereferencing end() not crashing, add some API to MachineInstrBundleIterator to get a non-const version of the iterator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278870 91177308-0d34-0410-b5e6-96231b3b80d8