diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-03 00:50:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-03 00:50:42 +0000 |
commit | a48f44d9ee15b2d9f696c5de6f3e60dc84639c0f (patch) | |
tree | 37f783e993984e7b0fdd0a0693a337c59f5d3b04 /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | f66b72094a9d537a2ec15e6c4d2871b8f58c9aea (diff) | |
download | llvm-a48f44d9ee15b2d9f696c5de6f3e60dc84639c0f.zip llvm-a48f44d9ee15b2d9f696c5de6f3e60dc84639c0f.tar.gz llvm-a48f44d9ee15b2d9f696c5de6f3e60dc84639c0f.tar.bz2 |
improve portability to avoid conflicting with std::next in c++'0x.
Patch by Howard Hinnant!
llvm-svn: 90365
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/PrologEpilogInserter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp index 8905f75..4d9f9f8 100644 --- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp +++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp @@ -674,7 +674,7 @@ void PEI::replaceFrameIndices(MachineFunction &Fn) { if (PrevI == BB->end()) I = BB->begin(); // The replaced instr was the first in the block. else - I = next(PrevI); + I = llvm::next(PrevI); continue; } |