Fix the InsertBranch call.

llvm-svn: 55192
This commit is contained in:
Dan Gohman 2008-08-22 19:26:10 +00:00
parent 87ff7058e7
commit 04968da460
1 changed files with 1 additions and 2 deletions

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;