[llvm-commits] [llvm] r154916 - /llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
Francois Pichet
pichet2000 at gmail.com
Tue Apr 17 02:37:33 PDT 2012
Author: fpichet
Date: Tue Apr 17 04:37:32 2012
New Revision: 154916
URL: http://llvm.org/viewvc/llvm-project?rev=154916&view=rev
Log:
Unbreak the MSVC build, that next() thing again.
Modified:
llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
Modified: llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SlotIndexes.h?rev=154916&r1=154915&r2=154916&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SlotIndexes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SlotIndexes.h Tue Apr 17 04:37:32 2012
@@ -605,7 +605,7 @@
} 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.
More information about the llvm-commits
mailing list