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)
commit113c43b2c627d4405a34b9e33b74e78cd58e8b80
tree0f83f3adea6201ddf1f66af1bdb782d29a08c38f
parentfd9cb11cd4d26ca943c7635bd19994cc3b073af8
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231134 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAG.h