projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b68c6
)
remove now-dead code, all labels use MCSymbols.
author
Chris Lattner
<sabre@nondot.org>
Sun, 14 Mar 2010 08:17:53 +0000
(08:17 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfException.cpp
b/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 4a64202c4784d53de4bcc0be56fee7415942d3be..f7b6bc03120105b5f31369215de74cf65506a9ce 100644
(file)
--- 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;