mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
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:
parent
e0182ec0e4
commit
5ed3cbb753
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user