diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-01 21:46:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-01 21:46:23 +0000 |
commit | f9650c061ee89ac55740555530ca5c2842c28738 (patch) | |
tree | f4d06798f109db00ab27ab23f3f0ca8995d6bc2b /include/llvm/MC/MCSection.h | |
parent | 27602b82c2a12b9f99c1f7fcbfb4be5ba97dbd7d (diff) | |
download | external_llvm-f9650c061ee89ac55740555530ca5c2842c28738.zip external_llvm-f9650c061ee89ac55740555530ca5c2842c28738.tar.gz external_llvm-f9650c061ee89ac55740555530ca5c2842c28738.tar.bz2 |
it turns out that isWeak() was basically dead anyway. Kill off SectionInfo :-/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSection.h')
-rw-r--r-- | include/llvm/MC/MCSection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCSection.h b/include/llvm/MC/MCSection.h index e9f7666..bdc46be 100644 --- a/include/llvm/MC/MCSection.h +++ b/include/llvm/MC/MCSection.h @@ -43,12 +43,12 @@ namespace llvm { public: virtual ~MCSection(); - bool isDirective() const { return IsDirective; } - static MCSection *Create(const StringRef &Name, bool IsDirective, SectionKind K, MCContext &Ctx); const std::string &getName() const { return Name; } + bool isDirective() const { return IsDirective; } + SectionKind getKind() const { return Kind; } }; |