diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/ELFTargetAsmInfo.h | 2 | ||||
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/include/llvm/Target/ELFTargetAsmInfo.h b/include/llvm/Target/ELFTargetAsmInfo.h index eb24dd1..1b405d6 100644 --- a/include/llvm/Target/ELFTargetAsmInfo.h +++ b/include/llvm/Target/ELFTargetAsmInfo.h @@ -23,7 +23,7 @@ namespace llvm { class Type; struct ELFTargetAsmInfo: public TargetAsmInfo { - explicit ELFTargetAsmInfo(const TargetMachine &TM); + ELFTargetAsmInfo(const TargetMachine &TM); /// getSectionForMergeableConstant - Given a mergeable constant with the /// specified size and relocation information, return a section that it diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index ab28ec1..af3fd22 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -254,7 +254,6 @@ namespace llvm { explicit Section(unsigned F = SectionFlags::Invalid) : Flags(F) { } public: - unsigned getEntitySize() const { return (Flags >> 24) & 0xFF; } const std::string &getName() const { return Name; } @@ -679,11 +678,9 @@ namespace llvm { virtual ~TargetAsmInfo(); const Section* getNamedSection(const char *Name, - unsigned Flags = SectionFlags::None, - bool Override = false) const; + unsigned Flags = SectionFlags::None) const; const Section* getUnnamedSection(const char *Directive, - unsigned Flags = SectionFlags::None, - bool Override = false) const; + unsigned Flags = SectionFlags::None) const; /// Measure the specified inline asm to determine an approximation of its /// length. |