summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-06-11 19:30:37 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-06-11 19:30:37 +0000
commitc88bf54366f19d849b0b23f1ec6037e10fbc0d05 (patch)
tree8b42b5f286da143fbc2b8a129006c5802b3bc20f /llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
parent7c6e6e49cc2ed0b35b03f06a2a3a3208bb35fe45 (diff)
downloadbcm5719-llvm-c88bf54366f19d849b0b23f1ec6037e10fbc0d05.tar.gz
bcm5719-llvm-c88bf54366f19d849b0b23f1ec6037e10fbc0d05.zip
[CodeGen] ArrayRef'ize cond/pred in various TII APIs. NFC.
llvm-svn: 239553
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430InstrInfo.cpp')
-rw-r--r--llvm/lib/Target/MSP430/MSP430InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp b/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
index 27681aae606..72b1780fd1c 100644
--- a/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
+++ b/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
@@ -262,7 +262,7 @@ bool MSP430InstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,
unsigned
MSP430InstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
MachineBasicBlock *FBB,
- const SmallVectorImpl<MachineOperand> &Cond,
+ ArrayRef<MachineOperand> Cond,
DebugLoc DL) const {
// Shouldn't be a fall through.
assert(TBB && "InsertBranch must not be told to insert a fallthrough");
OpenPOWER on IntegriCloud