aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2012-03-24 01:36:37 +0000
committerFrancois Pichet <pichet2000@gmail.com>2012-03-24 01:36:37 +0000
commitb54a5eda6d9a1f50c1861b53e19be84994e586ef (patch)
treef48502650f899bc5d3812b251372577509b184ac /lib/Transforms/Scalar
parent41085086b2a604b9a7db2fd6d88867d6c7774353 (diff)
Fix the MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r--lib/Transforms/Scalar/ObjCARC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/ObjCARC.cpp b/lib/Transforms/Scalar/ObjCARC.cpp
index ab8cd44625..80c1dd166e 100644
--- a/lib/Transforms/Scalar/ObjCARC.cpp
+++ b/lib/Transforms/Scalar/ObjCARC.cpp
@@ -2659,7 +2659,7 @@ ObjCARCOpt::VisitInstructionBottomUp(Instruction *Inst,
if (isa<InvokeInst>(Inst))
S.RRI.ReverseInsertPts.insert(BB->getFirstInsertionPt());
else
- S.RRI.ReverseInsertPts.insert(next(BasicBlock::iterator(Inst)));
+ S.RRI.ReverseInsertPts.insert(llvm::next(BasicBlock::iterator(Inst)));
S.SetSeq(S_Use);
} else if (Seq == S_Release &&
(Class == IC_User || Class == IC_CallOrUser)) {
@@ -2670,7 +2670,7 @@ ObjCARCOpt::VisitInstructionBottomUp(Instruction *Inst,
if (isa<InvokeInst>(Inst))
S.RRI.ReverseInsertPts.insert(BB->getFirstInsertionPt());
else
- S.RRI.ReverseInsertPts.insert(next(BasicBlock::iterator(Inst)));
+ S.RRI.ReverseInsertPts.insert(llvm::next(BasicBlock::iterator(Inst)));
}
break;
case S_Stop: