Remove the explicit SUnitIterator::operator= as the default is just fine
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:17:00 +0000 (21:17 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:17:00 +0000 (21:17 +0000)
commite29d3963931e0a03100e88a23569eef6e84c4247
treeb817eb96d434fc174e04981179182da7de2b91a1
parent0ef4488df25d4ed3b545395e258a25ec1031f28c
Remove the explicit SUnitIterator::operator= as the default is just fine

There doesn't seem to be any need to assert that iterator assignment is
between iterators over the same node - if you want to reuse an iterator
variable to iterate another node, that's perfectly acceptable. Just
don't mix comparisons between iterators into disjoint sequences, as
usual.

llvm-svn: 231134
llvm/include/llvm/CodeGen/ScheduleDAG.h