[llvm-commits] [llvm] r129639 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat Apr 16 03:30:47 PDT 2011
Author: d0k
Date: Sat Apr 16 05:30:47 2011
New Revision: 129639
URL: http://llvm.org/viewvc/llvm-project?rev=129639&view=rev
Log:
Remove unused variable.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp?rev=129639&r1=129638&r2=129639&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp Sat Apr 16 05:30:47 2011
@@ -113,16 +113,13 @@
switch (PerEncoding & 0x70) {
default:
report_fatal_error("We do not support this DWARF encoding yet!");
- case dwarf::DW_EH_PE_absptr: {
+ case dwarf::DW_EH_PE_absptr:
Sym = Asm->Mang->getSymbol(Per);
break;
- }
- case dwarf::DW_EH_PE_pcrel: {
- MCContext &Context = Asm->OutStreamer.getContext();
+ case dwarf::DW_EH_PE_pcrel:
Sym = TLOF.getPersonalityPICSymbol(Per->getName());
break;
}
- }
Asm->OutStreamer.EmitCFIPersonality(Sym, PerEncoding);
}
More information about the llvm-commits
mailing list