CodeGen: Remove implicit iterator conversions from MBB.cpp
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 9 Oct 2015 19:36:12 +0000 (19:36 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 9 Oct 2015 19:36:12 +0000 (19:36 +0000)
commit1b44cbf5acedf967dcc20417151e462dd2a9b67b
tree865d025bfca9f5305ccd198ff850cdf400834c8d
parentb1510c25d944707893ff81ca65645586afdd638e
CodeGen: Remove implicit iterator conversions from MBB.cpp

Remove implicit ilist iterator conversions from MachineBasicBlock.cpp.

I've also added an overload of `splice()` that takes a pointer, since
it's a natural API.  This is similar to the overloads I added for
`remove()` and `erase()` in r249867.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249883 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/ilist.h
include/llvm/CodeGen/MachineFunction.h
lib/CodeGen/MachineBlockPlacement.cpp