mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87024 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac18929801
commit
bf4af353ed
@ -443,10 +443,9 @@ MachineBasicBlock *PHIElimination::SplitCriticalEdge(MachineBasicBlock *A,
|
||||
MachineFunction *MF = A->getParent();
|
||||
MachineBasicBlock *NMBB = MF->CreateMachineBasicBlock(BB);
|
||||
MF->push_back(NMBB);
|
||||
const unsigned NewNum = NMBB->getNumber();
|
||||
DEBUG(errs() << "PHIElimination splitting critical edge:"
|
||||
" BB#" << A->getNumber()
|
||||
<< " -- BB#" << NewNum
|
||||
<< " -- BB#" << NMBB->getNumber()
|
||||
<< " -- BB#" << B->getNumber() << '\n');
|
||||
|
||||
A->ReplaceUsesOfBlockWith(B, NMBB);
|
||||
|
Loading…
Reference in New Issue
Block a user