summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-02-20 07:39:20 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-02-20 07:39:20 +0000
commitfdf45175a8444c421c03627c139777d1de48e516 (patch)
tree07671655669804710cbc435f2ae7e7d2018c0052 /lib/CodeGen/LiveInterval.cpp
parent5f645953555cee528cd1c0d6faa16d9b89ebba48 (diff)
downloadllvm-fdf45175a8444c421c03627c139777d1de48e516.tar.gz
llvm-fdf45175a8444c421c03627c139777d1de48e516.tar.bz2
llvm-fdf45175a8444c421c03627c139777d1de48e516.tar.xz
Fully qualify llvm::next to avoid ambiguity when building as C++11.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
-rw-r--r--lib/CodeGen/LiveInterval.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp
index 68f4b16023..74793bed5e 100644
--- a/lib/CodeGen/LiveInterval.cpp
+++ b/lib/CodeGen/LiveInterval.cpp
@@ -440,7 +440,7 @@ void LiveInterval::join(LiveInterval &Other,
iterator OutIt = begin();
OutIt->valno = NewVNInfo[LHSValNoAssignments[OutIt->valno->id]];
- for (iterator I = next(OutIt), E = end(); I != E; ++I) {
+ for (iterator I = llvm::next(OutIt), E = end(); I != E; ++I) {
VNInfo* nextValNo = NewVNInfo[LHSValNoAssignments[I->valno->id]];
assert(nextValNo != 0 && "Huh?");