mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
remove now-dead code, all labels use MCSymbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98484 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
25b68c6770
commit
0397ada8ae
@ -475,17 +475,8 @@ ComputeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites,
|
||||
continue;
|
||||
}
|
||||
|
||||
MCSymbol *BeginLabel;
|
||||
if (MI->getOperand(0).isImm()) {
|
||||
unsigned BeginLabelNo = MI->getOperand(0).getImm();
|
||||
assert(BeginLabelNo && "Invalid label!");
|
||||
BeginLabel = getDWLabel("label", BeginLabelNo);
|
||||
} else {
|
||||
BeginLabel = MI->getOperand(0).getMCSymbol();
|
||||
}
|
||||
|
||||
|
||||
// End of the previous try-range?
|
||||
MCSymbol *BeginLabel = MI->getOperand(0).getMCSymbol();
|
||||
if (BeginLabel == LastLabel)
|
||||
SawPotentiallyThrowing = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user