mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-09 20:13:35 +00:00
Don't renumber the blocks here. This could cause problems later on if another
pass renumbers the blocks again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142258 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ca9acfaff
commit
a48ed4fc8f
@ -5741,12 +5741,10 @@ EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const {
|
||||
MachineBasicBlock *DispContBB = MF->CreateMachineBasicBlock();
|
||||
DispatchBB->addSuccessor(DispContBB);
|
||||
|
||||
// Insert and renumber MBBs.
|
||||
MachineBasicBlock *Last = &MF->back();
|
||||
// Insert and MBBs.
|
||||
MF->insert(MF->end(), DispatchBB);
|
||||
MF->insert(MF->end(), DispContBB);
|
||||
MF->insert(MF->end(), TrapBB);
|
||||
MF->RenumberBlocks(Last);
|
||||
|
||||
// Insert code into the entry block that creates and registers the function
|
||||
// context.
|
||||
|
Loading…
x
Reference in New Issue
Block a user