forked from OSchip/llvm-project
remove now-dead code, all labels use MCSymbols.
llvm-svn: 98484
This commit is contained in:
parent
b4666f4517
commit
ff1fdd6787
|
@ -475,17 +475,8 @@ ComputeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites,
|
||||||
continue;
|
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?
|
// End of the previous try-range?
|
||||||
|
MCSymbol *BeginLabel = MI->getOperand(0).getMCSymbol();
|
||||||
if (BeginLabel == LastLabel)
|
if (BeginLabel == LastLabel)
|
||||||
SawPotentiallyThrowing = false;
|
SawPotentiallyThrowing = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue