[CodeGen] ArrayRef'ize cond/pred in various TII APIs. NFC.
[oota-llvm.git] / lib / Target / BPF / BPFInstrInfo.cpp
index 28bd0ec6ebefd8eefb0a11b7f4c5c72ddf0ad7df..83d14efc1a6cdbf788fdbbef722e3c95e7137b22 100644 (file)
@@ -133,7 +133,7 @@ bool BPFInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,
 unsigned BPFInstrInfo::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");