Unbreak the MSVC build, that next() thing again.
authorFrancois Pichet <pichet2000@gmail.com>
Tue, 17 Apr 2012 09:37:32 +0000 (09:37 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Tue, 17 Apr 2012 09:37:32 +0000 (09:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154916 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SlotIndexes.h

index 65ac92731ce8ffdec567a2617b07f14e4ea2c2b5..dfea0ac30d1ae4f09dc46057bcfb67c500886df8 100644 (file)
@@ -605,7 +605,7 @@ namespace llvm {
       } else {
         // Insert mi's index immediately after the preceeding instruction.
         prevItr = getIndexBefore(mi).listEntry();
       } else {
         // Insert mi's index immediately after the preceeding instruction.
         prevItr = getIndexBefore(mi).listEntry();
-        nextItr = next(prevItr);
+        nextItr = llvm::next(prevItr);
       }
 
       // Get a number for the new instr, or 0 if there's no room currently.
       }
 
       // Get a number for the new instr, or 0 if there's no room currently.