diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-22 23:27:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-22 23:27:22 +0000 |
commit | 819c4f365fe2bf9be75faafa667fb22366dabaf5 (patch) | |
tree | 97b31447f7fd66acf61a23afdf925d16f2af5a00 /lib/Target/TargetAsmInfo.cpp | |
parent | 41d0b9d952c1d329c80e091160e71a21570ef18c (diff) |
remove SectionFlags::Small: it is only used on Xcore, and we'll find
a better solution for it in the future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetAsmInfo.cpp')
-rw-r--r-- | lib/Target/TargetAsmInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index a2fe4185e9..1af112c792 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -260,9 +260,8 @@ TargetAsmInfo::SectionFlagsForGlobal(const GlobalValue *GV, case SectionKind::SmallData: case SectionKind::SmallBSS: Flags |= SectionFlags::Writeable; - // FALLS THROUGH + break; case SectionKind::SmallROData: - Flags |= SectionFlags::Small; break; default: llvm_unreachable("Unexpected section kind!"); |