Update for llvm r281167: changes to ilist_iterator template arguments.

(cherry picked from commit 97e415ce2a)
This commit is contained in:
Bob Wilson
2016-10-09 15:27:04 -07:00
parent ade13da759
commit ae3db7c88e
5 changed files with 8 additions and 8 deletions

View File

@@ -79,8 +79,7 @@ void llvm::ilist_traits<SILInstruction>::removeNodeFromList(SILInstruction *I) {
void llvm::ilist_traits<SILInstruction>::
transferNodesFromList(llvm::ilist_traits<SILInstruction> &L2,
llvm::ilist_iterator<SILInstruction> first,
llvm::ilist_iterator<SILInstruction> last) {
instr_iterator first, instr_iterator last) {
// If transferring instructions within the same basic block, no reason to
// update their parent pointers.
SILBasicBlock *ThisParent = getContainingBlock();