Remove the DwarfTable enum.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 5 May 2011 22:14:31 +0000 (22:14 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 5 May 2011 22:14:31 +0000 (22:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130959 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCAsmInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/LLVMTargetMachine.cpp

index 2ed5c0a47a2577d8b35aef1c9a3199abd1bba735..6800f2029fbdad8746ac8f0960227e80cc807b9c 100644 (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);
     }
 
index dad581b2d294d99127833f4d4d414c5f7c4d2476..31bf418178a2b330b31f70e10b28e78de6608c41 100644 (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;
index e1dad2efa98fe8957dfd80f161fb65b9d7a88e97..13cd45e592c1735ffac29c212225734e42b806ae 100644 (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;