summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TailDuplication.cpp
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-06-20 05:19:37 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-06-20 05:19:37 +0000
commit3f60acade67020e57a61082f6f72bd53a226ef56 (patch)
tree8565bdc562e4a3ed443c4fb2cfa77cb01ab574f6 /llvm/lib/CodeGen/TailDuplication.cpp
parentef636bffb5279f5c53de4c8057ddf30b8f94f858 (diff)
downloadbcm5719-llvm-3f60acade67020e57a61082f6f72bd53a226ef56.tar.gz
bcm5719-llvm-3f60acade67020e57a61082f6f72bd53a226ef56.zip
Fix MSVC build. next() function already exists in the MSVC headers. This create a overload conflict. Make sure we pick up the llvm one.
llvm-svn: 133416
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplication.cpp')
-rw-r--r--llvm/lib/CodeGen/TailDuplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TailDuplication.cpp b/llvm/lib/CodeGen/TailDuplication.cpp
index 1ac552ed525..f93840103e0 100644
--- a/llvm/lib/CodeGen/TailDuplication.cpp
+++ b/llvm/lib/CodeGen/TailDuplication.cpp
@@ -635,7 +635,7 @@ TailDuplicatePass::duplicateSimpleBB(MachineBasicBlock *TailBB,
<< "From simple Succ: " << *TailBB);
MachineBasicBlock *NewTarget = *TailBB->succ_begin();
- MachineBasicBlock *NextBB = next(MachineFunction::iterator(PredBB));
+ MachineBasicBlock *NextBB = llvm::next(MachineFunction::iterator(PredBB));
DenseMap<unsigned, unsigned> LocalVRMap;
SmallVector<std::pair<unsigned,unsigned>, 4> CopyInfos;
OpenPOWER on IntegriCloud