Get rid of ReadOnlySection duplicate
[oota-llvm.git] / include / llvm / Target / TargetAsmInfo.h
index 0d5d7cd2c40b8cc94ea9355103f1bae1cdbf2725..c93d189cc65629f4cfd30dcf30c484a1fbc56eb8 100644 (file)
@@ -146,8 +146,7 @@ namespace llvm {
     /// ReadOnlySection - This is the directive that is emitted to switch to a
     /// read-only section for constant data (e.g. data declared const,
     /// jump tables).
-    const char *ReadOnlySection;          // Defaults to NULL
-    const Section *ReadOnlySection_;
+    const Section *ReadOnlySection;       // Defaults to NULL
 
     /// SmallDataSection - This is the directive that is emitted to switch to a
     /// small data section.
@@ -597,12 +596,9 @@ namespace llvm {
     const Section *getBSSSection_() const {
       return BSSSection_;
     }
-    const char *getReadOnlySection() const {
+    const Section *getReadOnlySection() const {
       return ReadOnlySection;
     }
-    const Section *getReadOnlySection_() const {
-      return ReadOnlySection_;
-    }
     const Section *getSmallDataSection() const {
       return SmallDataSection;
     }