CodeGen: assert an instruction is being inserted with the correct iterator.
authorTim Northover <tnorthover@apple.com>
Fri, 14 Nov 2014 00:34:59 +0000 (00:34 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 14 Nov 2014 00:34:59 +0000 (00:34 +0000)
commit0dfb75c92af240dbdce9875389b9b409593f547e
treee821e8a14cdc1260568c5b13e93223f36340a483
parentf4742f4c8437e24cb6f9486e2f1685d1513180e9
CodeGen: assert an instruction is being inserted with the correct iterator.

When "MBB->Insert(It, ...)" is called, we want It to be pointing inside the
correct basic block. No actual failures at the moment, but it's caused problems
before.

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