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. // The unconditional fall-through case, which needs no instructions.
} else { } else {
// The unconditional branch case. // The unconditional branch case.
const SmallVector<MachineOperand, 0> NoCond(0); TII.InsertBranch(*MBB, MSucc, NULL, SmallVector<MachineOperand, 0>());
TII.InsertBranch(*MBB, MSucc, NULL, NoCond);
} }
MBB->addSuccessor(MSucc); MBB->addSuccessor(MSucc);
break; break;