X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FTarget%2FTargetAsmInfo.h;h=c93d189cc65629f4cfd30dcf30c484a1fbc56eb8;hp=0d5d7cd2c40b8cc94ea9355103f1bae1cdbf2725;hb=00181a33d87d0c7676547d979b2faa1c08c91732;hpb=d79cda9232a620e4fe2bf713a8656948e5fc28aa diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 0d5d7cd2c40..c93d189cc65 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -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; }