mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 03:28:35 +00:00
Remove the DwarfTable enum.
llvm-svn: 130959
This commit is contained in:
parent
29780325b3
commit
f109f01ec2
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user