diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-14 08:17:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-14 08:17:53 +0000 |
commit | 0397ada8ae1d1bc71037d8cd4a855d3ff04acbbb (patch) | |
tree | ba7dc548e824af3958f3aa72340a889255d029a6 /lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | 25b68c6770b7ba044ad37e0aed4f1c414f3b5209 (diff) |
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfException.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index 4a64202c47..f7b6bc0312 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -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; |