summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-30 19:11:11 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-30 19:11:11 +0000
commita55b262ca268ddbb697328ca669168b2a182e541 (patch)
treefd8445d62b351c6ebd108ed2ca581c1432d22d44 /include
parent8be91b553e4390cecb26b02938cc9a730b90bbdf (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h
index 6333f55bc21..04eba064bcf 100644
--- a/include/llvm/CodeGen/MachineBasicBlock.h
+++ b/include/llvm/CodeGen/MachineBasicBlock.h
@@ -46,9 +46,9 @@ private:
public:
void addNodeToList(MachineInstr *N);
void removeNodeFromList(MachineInstr *N);
- template <class Iterator>
- void transferNodesFromList(ilist_traits &OldList, Iterator First,
- Iterator Last);
+ void transferNodesFromList(ilist_traits &OldList,
+ simple_ilist<MachineInstr>::iterator First,
+ simple_ilist<MachineInstr>::iterator Last);
void deleteNode(MachineInstr *MI);
// Leave out createNode...