Author: Fangrui Song
Date: 2020-12-11T11:08:16-08:00
New Revision: a593d223c50f45a25316f948ea4ed222fb244daa

URL: 
https://github.com/llvm/llvm-project/commit/a593d223c50f45a25316f948ea4ed222fb244daa
DIFF: 
https://github.com/llvm/llvm-project/commit/a593d223c50f45a25316f948ea4ed222fb244daa.diff

LOG: [MCAsmInfo] Delete unused doesSupportExceptionHandling

ExceptionHandling:: is a bit misleading - we actually use the term for both
exceptions and non-exception .eh_frame usage.

Added: 
    

Modified: 
    llvm/include/llvm/MC/MCAsmInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/MC/MCAsmInfo.h 
b/llvm/include/llvm/MC/MCAsmInfo.h
index c55dab4e7973..98e9c2fd3607 100644
--- a/llvm/include/llvm/MC/MCAsmInfo.h
+++ b/llvm/include/llvm/MC/MCAsmInfo.h
@@ -636,10 +636,6 @@ class MCAsmInfo {
 
   bool doesSupportDebugInformation() const { return SupportsDebugInformation; }
 
-  bool doesSupportExceptionHandling() const {
-    return ExceptionsType != ExceptionHandling::None;
-  }
-
   ExceptionHandling getExceptionHandlingType() const { return ExceptionsType; }
   WinEH::EncodingType getWinEHEncodingType() const { return WinEHEncodingType; 
}
 


        
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to