mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update for llvm r281167: changes to ilist_iterator template arguments.
(cherry picked from commit 97e415ce2a)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user