summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SlotIndexes.h
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2012-04-17 09:37:32 +0000
committerFrancois Pichet <pichet2000@gmail.com>2012-04-17 09:37:32 +0000
commitd2bfce15d4dd065760cfe70c0bf7958e190fa757 (patch)
treeaff6ebc8760e4458c6d7ba3fd7c298978182bc44 /include/llvm/CodeGen/SlotIndexes.h
parent72aadc057c3fb92b5ccbc4c856306abd3b9d3b83 (diff)
downloadllvm-d2bfce15d4dd065760cfe70c0bf7958e190fa757.tar.gz
llvm-d2bfce15d4dd065760cfe70c0bf7958e190fa757.tar.bz2
llvm-d2bfce15d4dd065760cfe70c0bf7958e190fa757.tar.xz
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
Diffstat (limited to 'include/llvm/CodeGen/SlotIndexes.h')
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h
index 65ac92731c..dfea0ac30d 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.