mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 13:21:30 +00:00
Simplify code a bit.
llvm-svn: 15364
This commit is contained in:
parent
de150fb74b
commit
1eb8a5dc09
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user