remove now-dead code, all labels use MCSymbols.
authorChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 08:17:53 +0000 (08:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 08:17:53 +0000 (08:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98484 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfException.cpp

index 4a64202c4784d53de4bcc0be56fee7415942d3be..f7b6bc03120105b5f31369215de74cf65506a9ce 100644 (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;