Remove the DwarfTable enum.

llvm-svn: 130959
This commit is contained in:
Rafael Espindola 2011-05-05 22:14:31 +00:00
parent 29780325b3
commit f109f01ec2
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;