diff options
Diffstat (limited to 'contrib/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp')
-rw-r--r-- | contrib/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp b/contrib/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp index 5fd6b6305f68..424b5ae418f7 100644 --- a/contrib/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp +++ b/contrib/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp @@ -194,8 +194,8 @@ bool MSP430BSel::expandBranches(OffsetVector &BlockOffsets) { // Jump over the long branch on the opposite condition TII->reverseBranchCondition(Cond); MI = BuildMI(*MBB, MI, dl, TII->get(MSP430::JCC)) - .addMBB(NextMBB) - .addOperand(Cond[0]); + .addMBB(NextMBB) + .add(Cond[0]); InstrSizeDiff += TII->getInstSizeInBytes(*MI); ++MI; } |