summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCSection.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-01 21:46:23 +0000
committerChris Lattner <sabre@nondot.org>2009-08-01 21:46:23 +0000
commitf9650c061ee89ac55740555530ca5c2842c28738 (patch)
treef4d06798f109db00ab27ab23f3f0ca8995d6bc2b /include/llvm/MC/MCSection.h
parent27602b82c2a12b9f99c1f7fcbfb4be5ba97dbd7d (diff)
downloadllvm-f9650c061ee89ac55740555530ca5c2842c28738.tar.gz
llvm-f9650c061ee89ac55740555530ca5c2842c28738.tar.bz2
llvm-f9650c061ee89ac55740555530ca5c2842c28738.tar.xz
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCSection.h b/include/llvm/MC/MCSection.h
index e9f7666a6a..bdc46be11d 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; }
};