diff options
| author | Sergei Larin <slarin@codeaurora.org> | 2013-01-09 17:54:33 +0000 |
|---|---|---|
| committer | Sergei Larin <slarin@codeaurora.org> | 2013-01-09 17:54:33 +0000 |
| commit | 3b46d7ea26153465775f245e46e0becc7e8f9746 (patch) | |
| tree | 6dc0f65a0bb14b8c91ffa22e10f0f49c2ba42337 /llvm/lib/CodeGen | |
| parent | 5a6a020d9b1baa9683e4a1dd1659a501238e0064 (diff) | |
| download | bcm5719-llvm-3b46d7ea26153465775f245e46e0becc7e8f9746.tar.gz bcm5719-llvm-3b46d7ea26153465775f245e46e0becc7e8f9746.zip | |
Fix a typo in MachineInstr::unbundleFromSucc() method.
llvm-svn: 171983
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 29d8866b8d6..a4d9813e507 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -897,7 +897,7 @@ void MachineInstr::unbundleFromSucc() { assert(isBundledWithSucc() && "MI isn't bundled with its successor"); clearFlag(BundledSucc); MachineBasicBlock::instr_iterator Succ = this; - --Succ; + ++Succ; assert(Succ->isBundledWithPred() && "Inconsistent bundle flags"); Succ->clearFlag(BundledPred); } |

