Remove the DwarfTable enum.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130959 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2011-05-05 22:14:31 +00:00
parent ef7b4685f1
commit 254784f9e0
3 changed files with 2 additions and 7 deletions

View File

@ -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);
}

View File

@ -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;

View File

@ -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;