From 73b8dbdd9409f6e2bff76b67c16a9ad1e8333a29 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Tue, 30 Aug 2016 19:11:11 +0000 Subject: CodeGen: Fixup for r280128, since GCC isn't as permissive as Clang Fixes the bots, e.g.: http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-buildserver/builds/10055 llvm-svn: 280135 --- llvm/lib/CodeGen/MachineBasicBlock.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp') diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 1788d7ca952..d50f4e7763a 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -118,11 +118,9 @@ void ilist_traits::removeNodeFromList(MachineInstr *N) { /// When moving a range of instructions from one MBB list to another, we need to /// update the parent pointers and the use/def lists. -template <> -void ilist_traits::transferNodesFromList< - ilist::iterator>(ilist_traits &FromList, - ilist::iterator First, - ilist::iterator Last) { +void ilist_traits::transferNodesFromList( + ilist_traits &FromList, simple_ilist::iterator First, + simple_ilist::iterator Last) { assert(Parent->getParent() == FromList.Parent->getParent() && "MachineInstr parent mismatch!"); assert(this != &FromList && "Called without a real transfer..."); -- cgit v1.2.3