[llvm-commits] [llvm] r153366 - /llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
Francois Pichet
pichet2000 at gmail.com
Fri Mar 23 18:36:37 PDT 2012
Author: fpichet
Date: Fri Mar 23 20:36:37 2012
New Revision: 153366
URL: http://llvm.org/viewvc/llvm-project?rev=153366&view=rev
Log:
Fix the MSVC build.
Modified:
llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp?rev=153366&r1=153365&r2=153366&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp Fri Mar 23 20:36:37 2012
@@ -2659,7 +2659,7 @@
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 @@
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:
More information about the llvm-commits
mailing list