mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
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:
parent
ef7b4685f1
commit
254784f9e0
@ -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