Remove another unused flag.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 31 Oct 2013 15:58:33 +0000 (15:58 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 31 Oct 2013 15:58:33 +0000 (15:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193756 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCAsmInfo.h
lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp

index 16c0b54c26bc4624a4f4770e017238e4b8752f27..0c2bc4ca81f83ef4f7983db3eb2ad6629ca27d29 100644 (file)
@@ -244,11 +244,6 @@ namespace llvm {
     ///
     const char *GlobalDirective;             // Defaults to NULL.
 
-    /// ExternDirective - This is the directive used to declare external
-    /// globals.
-    ///
-    const char *ExternDirective;             // Defaults to NULL.
-
     /// HasSetDirective - True if the assembler supports the .set directive.
     bool HasSetDirective;                    // Defaults to true.
 
@@ -515,9 +510,6 @@ namespace llvm {
     const char *getGlobalDirective() const {
       return GlobalDirective;
     }
-    const char *getExternDirective() const {
-      return ExternDirective;
-    }
     bool hasSetDirective() const { return HasSetDirective; }
     bool hasAggressiveSymbolFolding() const {
       return HasAggressiveSymbolFolding;
index 4afdf9096dd7fecb6fd7dbf661beac2800924335..0aeb8d09f299b53ce16b0d2bf178d62b17854382 100644 (file)
@@ -55,7 +55,6 @@ AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfo() {
 
   //===--- Global Variable Emission Directives --------------------------===//
   GlobalDirective = ".global";
-  ExternDirective = ".extern";
   HasSetDirective = false;
   HasAggressiveSymbolFolding = true;
   COMMDirectiveAlignmentIsInBytes = false;