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)
commitd318df403a123ac3afe8eecf3bd53cd0c588c8dc
treee6f3b4872f30833f6d7ddd48dbbcf8f6617ac386
parentcbbd2fd8d62a37d19e7ca594a582354d87d9cfd1
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.

llvm-svn: 221953
llvm/include/llvm/CodeGen/MachineBasicBlock.h