aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-24 03:11:51 +0000
committerChris Lattner <sabre@nondot.org>2009-07-24 03:11:51 +0000
commit013e6b63099eed7743150a57dd9eed6868b013d6 (patch)
treec5c6727f2e3eb417aa206e297142a4c4e11f462b /include
parent865763bf80625aa3f06116335b067bf7ad76061c (diff)
Remove SectionKind::Small*. This was only used on mips, and is apparently
a sad mistake that is regretted. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 86e26a3210..6a86360451 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -50,12 +50,6 @@ namespace llvm {
RODataMergeStr, ///< Readonly data section: nul-terminated strings.
RODataMergeConst, ///< Readonly data section: fixed-length constants.
- /// Small sections - These sections contains "short" data, and should be
- /// placed "near" the GP.
- SmallData, ///< Small data section
- SmallBSS, ///< Small bss section
- SmallROData, ///< Small readonly section
-
/// Thread local data.
ThreadData, ///< Initialized TLS data objects
ThreadBSS ///< Uninitialized TLS data objects
@@ -64,13 +58,11 @@ namespace llvm {
static inline bool isReadOnly(Kind K) {
return (K == SectionKind::ROData ||
K == SectionKind::RODataMergeConst ||
- K == SectionKind::RODataMergeStr ||
- K == SectionKind::SmallROData);
+ K == SectionKind::RODataMergeStr);
}
static inline bool isBSS(Kind K) {
- return (K == SectionKind::BSS ||
- K == SectionKind::SmallBSS);
+ return K == SectionKind::BSS;
}
}