diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 12:27:27 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 12:27:27 +0000 |
commit | b6d0bd48bdf95bc93a7c4d16271113d5544a709d (patch) | |
tree | 6dfebbcb94e3e4c80afad6f82143b0b7896e5733 /llvm/lib/Target/Sparc/DelaySlotFiller.cpp | |
parent | 167e999be97aa102a77cf1a64ac9da56d90fa0fc (diff) | |
download | llvm-b6d0bd48bdf95bc93a7c4d16271113d5544a709d.zip llvm-b6d0bd48bdf95bc93a7c4d16271113d5544a709d.tar.gz llvm-b6d0bd48bdf95bc93a7c4d16271113d5544a709d.tar.bz2 |
[C++11] Replace llvm::next and llvm::prior with std::next and std::prev.
Remove the old functions.
llvm-svn: 202636
Diffstat (limited to 'llvm/lib/Target/Sparc/DelaySlotFiller.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/DelaySlotFiller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp index f23ddc2..80df99ab 100644 --- a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp +++ b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp @@ -479,7 +479,7 @@ bool Filler::tryCombineRestoreWithPrevInst(MachineBasicBlock &MBB, && MBBI->getOperand(1).getReg() == SP::G0 && MBBI->getOperand(2).getReg() == SP::G0); - MachineBasicBlock::iterator PrevInst = llvm::prior(MBBI); + MachineBasicBlock::iterator PrevInst = std::prev(MBBI); // It cannot be combined with a bundled instruction. if (PrevInst->isBundledWithSucc()) |