diff options
Diffstat (limited to 'llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h')
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h b/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h index e4c46dfe209..6da1ef3e1d1 100644 --- a/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h +++ b/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h @@ -20,12 +20,12 @@ namespace llvm { template <class T> struct MachineInstrBundleIteratorTraits { - typedef simple_ilist<T> list_type; + typedef simple_ilist<T, ilist_sentinel_tracking<true>> list_type; typedef typename list_type::iterator instr_iterator; typedef typename list_type::iterator nonconst_instr_iterator; }; template <class T> struct MachineInstrBundleIteratorTraits<const T> { - typedef simple_ilist<T> list_type; + typedef simple_ilist<T, ilist_sentinel_tracking<true>> list_type; typedef typename list_type::const_iterator instr_iterator; typedef typename list_type::iterator nonconst_instr_iterator; }; |

