mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
More complete solution to deleting blocks and debug info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -75,7 +75,7 @@ void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) {
|
||||
I != E; ++I) {
|
||||
if ((unsigned)I->getOpcode() == DWARF_LABELOpc) {
|
||||
// The label ID # is always operand #0, an immediate.
|
||||
MDI->RemoveLabelInfo(I->getOperand(0).getImm());
|
||||
MDI->InvalidateLabel(I->getOperand(0).getImm());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user