summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetLoweringObjectFile.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-19 02:13:06 +0000
committerChris Lattner <sabre@nondot.org>2010-01-19 02:13:06 +0000
commit6e3be14be4eadd9aefea654611c808eea9eb8aea (patch)
treeba2be5f8764b9f1da6e5283c7052b3718561d9e4 /include/llvm/Target/TargetLoweringObjectFile.h
parentaac138e84dee1cb3ffc1035b2a1e4361fe0b4f80 (diff)
downloadllvm-6e3be14be4eadd9aefea654611c808eea9eb8aea.tar.gz
llvm-6e3be14be4eadd9aefea654611c808eea9eb8aea.tar.bz2
llvm-6e3be14be4eadd9aefea654611c808eea9eb8aea.tar.xz
change an accessor to a predicate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLoweringObjectFile.h')
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLoweringObjectFile.h b/include/llvm/Target/TargetLoweringObjectFile.h
index fec56fa442..b8da445ceb 100644
--- a/include/llvm/Target/TargetLoweringObjectFile.h
+++ b/include/llvm/Target/TargetLoweringObjectFile.h
@@ -315,8 +315,8 @@ public:
/// getDataCommonSection - Return the "__DATA,__common" section we put
/// zerofill (aka bss) data into.
- const MCSection *getDataCommonSection() const {
- return DataCommonSection;
+ bool isDataCommonSection(const MCSection *Section) const {
+ return Section == DataCommonSection;
}
/// getLazySymbolPointerSection - Return the section corresponding to