Fix the InsertBranch call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55192 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-08-22 19:26:10 +00:00
parent e0182ec0e4
commit 5ed3cbb753

View File

@ -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;