diff options
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 74174519fb3..fb4de574a85 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -207,8 +207,7 @@ FastISel::SelectInstructions(BasicBlock::iterator Begin, // The unconditional fall-through case, which needs no instructions. } else { // The unconditional branch case. - const SmallVector<MachineOperand, 0> NoCond(0); - TII.InsertBranch(*MBB, MSucc, NULL, NoCond); + TII.InsertBranch(*MBB, MSucc, NULL, SmallVector<MachineOperand, 0>()); } MBB->addSuccessor(MSucc); break; |