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:
Chris Lattner 2010-03-14 08:17:53 +00:00
parent 25b68c6770
commit 0397ada8ae

View File

@ -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;