diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-24 20:27:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-24 20:27:11 +0000 |
commit | cd3d6e4815bb5cc6b3e21ed62b8561eec8fbfd37 (patch) | |
tree | e8bc70e3f97195aaccc6ac7793793e3154d84dcc /include | |
parent | 224957eaed1f5d3c5f496e79adc2c197372bd5c6 (diff) | |
download | external_llvm-cd3d6e4815bb5cc6b3e21ed62b8561eec8fbfd37.zip external_llvm-cd3d6e4815bb5cc6b3e21ed62b8561eec8fbfd37.tar.gz external_llvm-cd3d6e4815bb5cc6b3e21ed62b8561eec8fbfd37.tar.bz2 |
fix some predicates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 58955c8..fc044b8 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -57,13 +57,11 @@ namespace llvm { static inline bool isReadOnly(Kind K) { return (K == SectionKind::ROData || + K == SectionKind::DataRelRO || + K == SectionKind::DataRelROLocal || K == SectionKind::RODataMergeConst || K == SectionKind::RODataMergeStr); } - - static inline bool isBSS(Kind K) { - return K == SectionKind::BSS; - } } namespace SectionFlags { @@ -601,7 +599,8 @@ namespace llvm { /// getSpecialCasedSectionGlobals - Allow the target to completely override /// section assignment of a global. - /// FIXME: ELIMINATE + /// FIXME: ELIMINATE this by making PIC16 implement ADDRESS with + /// getFlagsForNamedSection. virtual const Section * getSpecialCasedSectionGlobals(const GlobalValue *GV, SectionKind::Kind Kind) const{ |