diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-05 22:14:31 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-05 22:14:31 +0000 |
commit | ec0a3a0bbfa4245712e8493c2fd090f09e4449e6 (patch) | |
tree | 5d84eeedffa31eb3cea3e8f69297051b3f861f78 /llvm | |
parent | e3a5ff1508d9feb9a41894d81b3f13291192e7c1 (diff) | |
download | bcm5719-llvm-ec0a3a0bbfa4245712e8493c2fd090f09e4449e6.tar.gz bcm5719-llvm-ec0a3a0bbfa4245712e8493c2fd090f09e4449e6.zip |
Remove the DwarfTable enum.
llvm-svn: 130959
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/MC/MCAsmInfo.h | 5 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 1 |
3 files changed, 2 insertions, 7 deletions
diff --git a/llvm/include/llvm/MC/MCAsmInfo.h b/llvm/include/llvm/MC/MCAsmInfo.h index 2ed5c0a47a2..6800f2029fb 100644 --- a/llvm/include/llvm/MC/MCAsmInfo.h +++ b/llvm/include/llvm/MC/MCAsmInfo.h @@ -29,7 +29,7 @@ namespace llvm { /// MCAsmInfo - This class is intended to be used as a base class for asm /// properties and features specific to the target. namespace ExceptionHandling { - enum ExceptionsType { None, DwarfTable, DwarfCFI, SjLj, ARM }; + enum ExceptionsType { None, DwarfCFI, SjLj, ARM }; } class MCAsmInfo { @@ -462,8 +462,7 @@ namespace llvm { } bool isExceptionHandlingDwarf() const { return - (ExceptionsType == ExceptionHandling::DwarfTable || - ExceptionsType == ExceptionHandling::DwarfCFI || + (ExceptionsType == ExceptionHandling::DwarfCFI || ExceptionsType == ExceptionHandling::ARM); } diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index dad581b2d29..31bf418178a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -195,9 +195,6 @@ bool AsmPrinter::doInitialization(Module &M) { case ExceptionHandling::SjLj: DE = new DwarfSjLjException(this); return false; - case ExceptionHandling::DwarfTable: - DE = new DwarfTableException(this); - return false; case ExceptionHandling::DwarfCFI: DE = new DwarfCFIException(this); return false; diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index e1dad2efa98..13cd45e592c 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -324,7 +324,6 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, PM.add(createSjLjEHPass(getTargetLowering())); // FALLTHROUGH case ExceptionHandling::DwarfCFI: - case ExceptionHandling::DwarfTable: case ExceptionHandling::ARM: PM.add(createDwarfEHPass(this)); break; |