diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-22 19:26:10 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-22 19:26:10 +0000 |
commit | 5ed3cbb753ac3cd1967d6e2d37b6985655607559 (patch) | |
tree | f85a8afe971066a925004be6fe61622fa1f3dd8d /lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | e0182ec0e473ae2cd23f6451d2539b7ec449f04e (diff) |
Fix the InsertBranch call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 74174519fb..fb4de574a8 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/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; |