Simplify code a bit.

llvm-svn: 15364
This commit is contained in:
Alkis Evlogimenos 2004-07-31 09:44:32 +00:00
parent aaf642103a
commit ce15f8f4c9
1 changed files with 1 additions and 3 deletions

View File

@ -67,7 +67,5 @@ X86InstrInfo::reverseBranchCondition(MachineBasicBlock::iterator MI) const {
}
MachineBasicBlock* MBB = MI->getParent();
MachineBasicBlock* TMBB = MI->getOperand(0).getMachineBasicBlock();
MachineInstrBuilder IB = BuildMI(*MBB, MBB->erase(MI), ROpcode, 1);
IB.addMBB(TMBB);
return IB;
return BuildMI(*MBB, MBB->erase(MI), ROpcode, 1).addMBB(TMBB);
}