From: Francois Pichet Date: Tue, 17 Apr 2012 09:37:32 +0000 (+0000) Subject: Unbreak the MSVC build, that next() thing again. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=d2bfce15d4dd065760cfe70c0bf7958e190fa757 Unbreak the MSVC build, that next() thing again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154916 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h index 65ac92731ce..dfea0ac30d1 100644 --- a/include/llvm/CodeGen/SlotIndexes.h +++ b/include/llvm/CodeGen/SlotIndexes.h @@ -605,7 +605,7 @@ namespace llvm { } 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.